start: 00000000 601E bra +0x20 /* 00000020 */ 00000002 1047 movea.b A0, D7 00000004 656E bcs +0x70 /* 00000074 */ 00000006 6572 bcs +0x74 /* 0000007A */ 00000008 616C bsr +0x6E /* 00000076 */ 0000000A 2043 movea.l A0, D3 0000000C 6F6E ble +0x70 /* 0000007C */ 0000000E 7472 moveq.l D2, 0x72 00000010 6F6C ble +0x6E /* 0000007E */ 00000012 7300 moveq.l D1, 0x00 00000014 0000 6364 ori.b D0, 0x64 /* 'd' */ 00000018 6576 bcs +0x78 /* 00000090 */ 0000001A F020 372E .pflush 0xF020, 0x372E // unimplemented 0000001E 3000 move.w D0, D0 label00000020: 00000020 2C1F move.l D6, [A7]+ 00000022 6100 0194 bsr +0x196 /* 000001B8 */ 00000026 2F06 move.l -[A7], D6 00000028 4E56 FFF2 link A6, -0x000E 0000002C 2F0E move.l -[A7], A6 0000002E 2F3C 9978 2370 move.l -[A7], 0x99782370 00000034 2F3C 5984 4403 move.l -[A7], 0x59844403 0000003A 2F3C 3598 9345 move.l -[A7], 0x35989345 00000040 2F0B move.l -[A7], A3 00000042 6612 bne +0x14 /* 00000056 */ 00000044 B2FC 0001 cmpa.w A1, 0x1 00000048 6600 0160 bne +0x162 /* 000001AA */ 0000004C 3F3C 000C move.w -[A7], 0xC 00000050 A9C8 syscall SysBeep 00000052 6000 0156 bra +0x158 /* 000001AA */ label00000056: 00000056 B2FC 0000 cmpa.w A1, 0x0 0000005A 6700 061E beq +0x620 /* 0000067A */ 0000005E B2FC 0002 cmpa.w A1, 0x2 00000062 6700 0562 beq +0x564 /* 000005C6 */ 00000066 2F0B move.l -[A7], A3 00000068 204B movea.l A0, A3 0000006A A069 syscall HGetState 0000006C 1F00 move.b -[A7], D0 0000006E A029 syscall HLock 00000070 2653 movea.l A3, [A3] 00000072 B2FC 0001 cmpa.w A1, 0x1 // begin alternate branch 00000074-00000078 label00000074: 00000074 0001 6772 ori.b D1, 0x72 /* 'r' */ // end alternate branch 00000074-00000078 label00000074: // (misaligned) fn00000076: 00000076 6772 beq +0x74 /* 000000EA */ 00000078 B2FC 0003 cmpa.w A1, 0x3 // begin alternate branch 0000007A-0000007E label0000007A: 0000007A 0003 6700 ori.b D3, 0x0 // end alternate branch 0000007A-0000007E label0000007A: // (misaligned) label0000007C: 0000007C 6700 07B0 beq +0x7B2 /* 0000082E */ // begin alternate branch 0000007E-00000090 label0000007E: 0000007E 07B0 B2FC bclr [A0 + A3.w * 2 - 0x4], D3 00000082 0006 6700 ori.b D6, 0x0 00000086 182A B2FC move.b D4, [A2 - 0x4D04] 0000008A 0005 6700 ori.b D5, 0x0 0000008E 05FC .incomplete // end alternate branch 0000007E-00000090 label0000007E: // (misaligned) 00000080 B2FC 0006 cmpa.w A1, 0x6 00000084 6700 182A beq +0x182C /* 000018B0 */ 00000088 B2FC 0005 cmpa.w A1, 0x5 0000008C 6700 05FC beq +0x5FE /* 0000068A */ label00000090: 00000090 B2FC 0007 cmpa.w A1, 0x7 00000094 6700 1628 beq +0x162A /* 000016BE */ 00000098 B2FC 0004 cmpa.w A1, 0x4 0000009C 6600 00FE bne +0x100 /* 0000019C */ 000000A0 6100 0C96 bsr +0xC98 /* 00000D38 */ 000000A4 6100 0D3E bsr +0xD40 /* 00000DE4 */ 000000A8 6100 16B6 bsr +0x16B8 /* 00001760 */ 000000AC 6100 0806 bsr +0x808 /* 000008B4 */ 000000B0 6000 00EA bra +0xEC /* 0000019C */ fn000000B4: 000000B4 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1 000000B8 426B 00BC clr.w [A3 + 0xBC] 000000BC B66B 00BA cmp.w D3, [A3 + 0xBA] 000000C0 6618 bne +0x1A /* 000000DA */ 000000C2 202C 0006 move.l D0, [A4 + 0x6] 000000C6 222B 00B6 move.l D1, [A3 + 0xB6] 000000CA 307C 02F0 movea.w A0, 0x2F0 000000CE D290 add.l D1, [A0] 000000D0 B280 cmp.l D1, D0 000000D2 6D06 blt +0x8 /* 000000DA */ 000000D4 377C 0001 00BC move.w [A3 + 0xBC], 0x1 label000000DA: 000000DA 3743 00BA move.w [A3 + 0xBA], D3 000000DE 276C 0006 00B6 move.l [A3 + 0xB6], [A4 + 0x6] 000000E4 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+ 000000E8 4E75 rts label000000EA: 000000EA 61C8 bsr -0x36 /* 000000B4 */ 000000EC 0C43 0001 cmpi.w D3, 0x1 000000F0 6700 0F2A beq +0xF2C /* 0000101C */ 000000F4 0C43 0006 cmpi.w D3, 0x6 000000F8 6F00 0082 ble +0x84 /* 0000017C */ 000000FC 0C43 000A cmpi.w D3, 0xA /* '\n' */ 00000100 6F3A ble +0x3C /* 0000013C */ 00000102 0C43 0018 cmpi.w D3, 0x18 00000106 6C04 bge +0x6 /* 0000010C */ 00000108 6000 0092 bra +0x94 /* 0000019C */ label0000010C: 0000010C 0C43 0019 cmpi.w D3, 0x19 00000110 6F4A ble +0x4C /* 0000015C */ 00000112 0C43 001E cmpi.w D3, 0x1E 00000116 6700 15A6 beq +0x15A8 /* 000016BE */ 0000011A 0C43 001D cmpi.w D3, 0x1D 0000011E 6700 159E beq +0x15A0 /* 000016BE */ 00000122 0C43 001B cmpi.w D3, 0x1B 00000126 6700 00A4 beq +0xA6 /* 000001CC */ 0000012A 0C43 001A cmpi.w D3, 0x1A 0000012E 6700 0104 beq +0x106 /* 00000234 */ 00000132 0C43 001F cmpi.w D3, 0x1F 00000136 6C00 0A82 bge +0xA84 /* 00000BBA */ 0000013A 6060 bra +0x62 /* 0000019C */ label0000013C: 0000013C 6100 1622 bsr +0x1624 /* 00001760 */ 00000140 6106 bsr +0x8 /* 00000148 */ 00000142 6100 05C0 bsr +0x5C2 /* 00000704 */ 00000146 6054 bra +0x56 /* 0000019C */ fn00000148: 00000148 3C3C 0003 move.w D6, 0x3 0000014C 3A3C 000A move.w D5, 0xA /* '\n' */ label00000150: 00000150 6100 0154 bsr +0x156 /* 000002A6 */ 00000154 5345 subq.w D5, 1 00000156 51CE FFF8 dbf D6, -0xA /* 00000150 */ 0000015A 4E75 rts label0000015C: 0000015C 6100 1602 bsr +0x1604 /* 00001760 */ 00000160 6106 bsr +0x8 /* 00000168 */ 00000162 6100 05F8 bsr +0x5FA /* 0000075C */ 00000166 6034 bra +0x36 /* 0000019C */ fn00000168: 00000168 3C3C 0001 move.w D6, 0x1 0000016C 3A3C 0019 move.w D5, 0x19 label00000170: 00000170 6100 0134 bsr +0x136 /* 000002A6 */ 00000174 5345 subq.w D5, 1 00000176 51CE FFF8 dbf D6, -0xA /* 00000170 */ 0000017A 4E75 rts label0000017C: 0000017C 6100 15E2 bsr +0x15E4 /* 00001760 */ 00000180 6106 bsr +0x8 /* 00000188 */ 00000182 6100 0676 bsr +0x678 /* 000007FA */ 00000186 6014 bra +0x16 /* 0000019C */ fn00000188: 00000188 3C3C 0002 move.w D6, 0x2 0000018C 3A3C 0006 move.w D5, 0x6 label00000190: 00000190 6100 0114 bsr +0x116 /* 000002A6 */ 00000194 5345 subq.w D5, 1 00000196 51CE FFF8 dbf D6, -0xA /* 00000190 */ 0000019A 4E75 rts label0000019C: 0000019C 161F move.b D3, [A7]+ 0000019E 265F movea.l A3, [A7]+ 000001A0 204B movea.l A0, A3 000001A2 A02A syscall HUnlock 000001A4 204B movea.l A0, A3 000001A6 1003 move.b D0, D3 000001A8 A06A syscall HSetState label000001AA: 000001AA 4FEF 0010 lea.l A7, [A7 + 0x10] 000001AE 2C5F movea.l A6, [A7]+ 000001B0 4E5E unlink A6 000001B2 205F movea.l A0, [A7]+ 000001B4 2E8B move.l [A7], A3 000001B6 4ED0 jmp [A0] fn000001B8: 000001B8 205F movea.l A0, [A7]+ 000001BA 245F movea.l A2, [A7]+ 000001BC 265F movea.l A3, [A7]+ 000001BE 285F movea.l A4, [A7]+ 000001C0 381F move.w D4, [A7]+ 000001C2 3E1F move.w D7, [A7]+ 000001C4 361F move.w D3, [A7]+ 000001C6 325F movea.w A1, [A7]+ 000001C8 9647 sub.w D3, D7 000001CA 4ED0 jmp [A0] label000001CC: 000001CC 0C6B 0003 003A cmpi.w [A3 + 0x3A], 0x3 000001D2 66C8 bne -0x36 /* 0000019C */ 000001D4 303C 001B move.w D0, 0x1B 000001D8 6100 04FA bsr +0x4FC /* 000006D4 */ 000001DC 514F subq.w A7, 8 000001DE 3F3C F03E move.w -[A7], 0xF03E 000001E2 A9BC syscall GetPicture 000001E4 4A97 tst.l [A7] 000001E6 660A bne +0xC /* 000001F2 */ 000001E8 584F addq.w A7, 4 000001EA 3F3C 0001 move.w -[A7], 0x1 000001EE 6100 1ABA bsr +0x1ABC /* 00001CAA */ label000001F2: 000001F2 2F17 move.l -[A7], [A7] 000001F4 2057 movea.l A0, [A7] 000001F6 A04A syscall HNoPurge 000001F8 486E FFF2 pea.l [A6 - 0xE] 000001FC A8F6 syscall DrawPicture 000001FE 205F movea.l A0, [A7]+ 00000200 A049 syscall HPurge 00000202 307C 0007 movea.w A0, 0x7 00000206 A03B syscall Delay 00000208 3F3C F037 move.w -[A7], 0xF037 0000020C A9BC syscall GetPicture 0000020E 4A97 tst.l [A7] 00000210 660A bne +0xC /* 0000021C */ 00000212 584F addq.w A7, 4 00000214 3F3C 0001 move.w -[A7], 0x1 00000218 6100 1A90 bsr +0x1A92 /* 00001CAA */ label0000021C: 0000021C 2F17 move.l -[A7], [A7] 0000021E 2057 movea.l A0, [A7] 00000220 A04A syscall HNoPurge 00000222 486E FFF2 pea.l [A6 - 0xE] 00000226 A8F6 syscall DrawPicture 00000228 205F movea.l A0, [A7]+ 0000022A A049 syscall HPurge 0000022C 6100 1532 bsr +0x1534 /* 00001760 */ 00000230 6000 FF6A bra -0x94 /* 0000019C */ label00000234: 00000234 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 0000023A 6600 FF60 bne -0x9E /* 0000019C */ 0000023E 4AAB 002C tst.l [A3 + 0x2C] 00000242 6700 FF58 beq -0xA6 /* 0000019C */ 00000246 303C 001A move.w D0, 0x1A 0000024A 6100 0488 bsr +0x48A /* 000006D4 */ 0000024E 514F subq.w A7, 8 00000250 3F3C F03F move.w -[A7], 0xF03F 00000254 A9BC syscall GetPicture 00000256 4A97 tst.l [A7] 00000258 660A bne +0xC /* 00000264 */ 0000025A 584F addq.w A7, 4 0000025C 3F3C 0001 move.w -[A7], 0x1 00000260 6100 1A48 bsr +0x1A4A /* 00001CAA */ label00000264: 00000264 2F17 move.l -[A7], [A7] 00000266 2057 movea.l A0, [A7] 00000268 A04A syscall HNoPurge 0000026A 486E FFF2 pea.l [A6 - 0xE] 0000026E A8F6 syscall DrawPicture 00000270 205F movea.l A0, [A7]+ 00000272 A049 syscall HPurge 00000274 307C 0007 movea.w A0, 0x7 00000278 A03B syscall Delay 0000027A 3F3C F038 move.w -[A7], 0xF038 0000027E A9BC syscall GetPicture 00000280 4A97 tst.l [A7] 00000282 660A bne +0xC /* 0000028E */ 00000284 584F addq.w A7, 4 00000286 3F3C 0001 move.w -[A7], 0x1 0000028A 6100 1A1E bsr +0x1A20 /* 00001CAA */ label0000028E: 0000028E 2F17 move.l -[A7], [A7] 00000290 2057 movea.l A0, [A7] 00000292 A04A syscall HNoPurge 00000294 486E FFF2 pea.l [A6 - 0xE] 00000298 A8F6 syscall DrawPicture 0000029A 205F movea.l A0, [A7]+ 0000029C A049 syscall HPurge 0000029E 6100 14C0 bsr +0x14C2 /* 00001760 */ 000002A2 6000 FEF8 bra -0x106 /* 0000019C */ fn000002A6: 000002A6 7800 moveq.l D4, 0x00 000002A8 3005 move.w D0, D5 000002AA B645 cmp.w D3, D5 000002AC 6602 bne +0x4 /* 000002B0 */ 000002AE 7801 moveq.l D4, 0x01 label000002B0: 000002B0 6102 bsr +0x4 /* 000002B4 */ 000002B2 4E75 rts fn000002B4: 000002B4 6100 041E bsr +0x420 /* 000006D4 */ 000002B8 2F2E FFFA move.l -[A7], [A6 - 0x6] 000002BC 3F04 move.w -[A7], D4 000002BE A963 syscall SetControlValue/SetCtlValue 000002C0 4E75 rts fn000002C2: 000002C2 48E7 0060 movem.l -[A7], A1,A2 000002C6 203C 0000 00D0 move.l D0, 0xD0 000002CC A122 syscall NewHandle, flags=1 000002CE 2648 movea.l A3, A0 000002D0 2008 move.l D0, A0 000002D2 660A bne +0xC /* 000002DE */ 000002D4 4CDF 0600 movem.l A1,A2, [A7]+ 000002D8 584F addq.w A7, 4 000002DA 6000 FECE bra -0x130 /* 000001AA */ label000002DE: 000002DE 2050 movea.l A0, [A0] 000002E0 4268 00CE clr.w [A0 + 0xCE] 000002E4 42A8 0018 clr.l [A0 + 0x18] 000002E8 42A8 001C clr.l [A0 + 0x1C] 000002EC 42A8 0020 clr.l [A0 + 0x20] 000002F0 42A8 009C clr.l [A0 + 0x9C] 000002F4 4268 002A clr.w [A0 + 0x2A] 000002F8 4268 0074 clr.w [A0 + 0x74] 000002FC 42A8 00B6 clr.l [A0 + 0xB6] 00000300 4268 00BA clr.w [A0 + 0xBA] 00000304 4268 00BC clr.w [A0 + 0xBC] 00000308 42A8 000C clr.l [A0 + 0xC] 0000030C 50E8 0010 st [A0 + 0x10] 00000310 594F subq.w A7, 4 00000312 3F3C 0010 move.w -[A7], 0x10 00000316 A9B8 syscall GetPattern 00000318 201F move.l D0, [A7]+ 0000031A 6608 bne +0xA /* 00000324 */ 0000031C 3F3C 0001 move.w -[A7], 0x1 00000320 6100 1988 bsr +0x198A /* 00001CAA */ label00000324: 00000324 2240 movea.l A1, D0 00000326 2251 movea.l A1, [A1] 00000328 2053 movea.l A0, [A3] 0000032A 20D9 move.l [A0]+, [A1]+ 0000032C 20D1 move.l [A0]+, [A1] 0000032E 30BC FFFF move.w [A0], 0xFFFF 00000332 2053 movea.l A0, [A3] 00000334 317C 0001 000A move.w [A0 + 0xA], 0x1 0000033A 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 00000340 6600 010E bne +0x110 /* 00000450 */ 00000344 594F subq.w A7, 4 00000346 2F3C 7070 6174 move.l -[A7], 0x70706174 /* 'ppat' */ 0000034C 3F3C 0010 move.w -[A7], 0x10 00000350 A9A0 syscall GetResource 00000352 201F move.l D0, [A7]+ 00000354 6608 bne +0xA /* 0000035E */ 00000356 3F3C 0001 move.w -[A7], 0x1 0000035A 6100 194E bsr +0x1950 /* 00001CAA */ label0000035E: 0000035E 2253 movea.l A1, [A3] 00000360 2340 0068 move.l [A1 + 0x68], D0 00000364 2040 movea.l A0, D0 00000366 2050 movea.l A0, [A0] 00000368 3350 00B2 move.w [A1 + 0xB2], [A0] 0000036C 6100 01DA bsr +0x1DC /* 00000548 */ 00000370 3369 00B4 00B2 move.w [A1 + 0xB2], [A1 + 0xB4] 00000376 0C69 0001 00B2 cmpi.w [A1 + 0xB2], 0x1 0000037C 6600 00D2 bne +0xD4 /* 00000450 */ 00000380 594F subq.w A7, 4 00000382 AA07 syscall NewPixPat 00000384 201F move.l D0, [A7]+ 00000386 6606 bne +0x8 /* 0000038E */ 00000388 4267 clr.w -[A7] 0000038A 6100 191E bsr +0x1920 /* 00001CAA */ label0000038E: 0000038E 2253 movea.l A1, [A3] 00000390 2340 001C move.l [A1 + 0x1C], D0 00000394 594F subq.w A7, 4 00000396 3F3C 0010 move.w -[A7], 0x10 0000039A AA0C syscall GetPixPat 0000039C 201F move.l D0, [A7]+ 0000039E 6608 bne +0xA /* 000003A8 */ 000003A0 3F3C 0001 move.w -[A7], 0x1 000003A4 6100 1904 bsr +0x1906 /* 00001CAA */ label000003A8: 000003A8 2040 movea.l A0, D0 000003AA A029 syscall HLock 000003AC 2253 movea.l A1, [A3] 000003AE 2348 0020 move.l [A1 + 0x20], A0 000003B2 594F subq.w A7, 4 000003B4 2F0A move.l -[A7], A2 000003B6 AA96 syscall GetPalette 000003B8 2253 movea.l A1, [A3] 000003BA 235F 00C6 move.l [A1 + 0xC6], [A7]+ 000003BE 594F subq.w A7, 4 000003C0 3F3C 000B move.w -[A7], 0xB 000003C4 42A7 clr.l -[A7] 000003C6 4267 clr.w -[A7] 000003C8 4267 clr.w -[A7] 000003CA AA91 syscall NewPalette 000003CC 2253 movea.l A1, [A3] 000003CE 201F move.l D0, [A7]+ 000003D0 2340 00CA move.l [A1 + 0xCA], D0 000003D4 6606 bne +0x8 /* 000003DC */ 000003D6 4267 clr.w -[A7] 000003D8 6100 18D0 bsr +0x18D2 /* 00001CAA */ label000003DC: 000003DC 2F0A move.l -[A7], A2 000003DE 2F00 move.l -[A7], D0 000003E0 1F3C 0001 move.b -[A7], 0x1 000003E4 AA95 syscall SetPalette/NSetPalette 000003E6 2253 movea.l A1, [A3] 000003E8 2F29 0020 move.l -[A7], [A1 + 0x20] 000003EC 2F29 001C move.l -[A7], [A1 + 0x1C] 000003F0 AA09 syscall CopyPixPat 000003F2 2F0B move.l -[A7], A3 000003F4 2653 movea.l A3, [A3] 000003F6 2F2B 00CA move.l -[A7], [A3 + 0xCA] 000003FA 4267 clr.w -[A7] 000003FC 487A 09C8 pea.l [PC + 0x9C8 /* 00000DC6, value 0xFFFFFFFF */] 00000400 AA9C syscall SetEntryColor 00000402 206A 0008 movea.l A0, [A2 + 0x8] 00000406 2050 movea.l A0, [A0] 00000408 2F28 0008 move.l -[A7], [A0 + 0x8] 0000040C 3F28 0006 move.w -[A7], [A0 + 0x6] 00000410 2F2B 00CA move.l -[A7], [A3 + 0xCA] 00000414 3F3C 0002 move.w -[A7], 0x2 00000418 486F 0006 pea.l [A7 + 0x6] 0000041C AA9C syscall SetEntryColor 0000041E 2F2B 00CA move.l -[A7], [A3 + 0xCA] 00000422 3F3C 0002 move.w -[A7], 0x2 00000426 3F3C 0002 move.w -[A7], 0x2 0000042A 4267 clr.w -[A7] 0000042C AA9E syscall SetEntryUsage 0000042E 5C4F addq.w A7, 6 00000430 6100 00D0 bsr +0xD2 /* 00000502 */ 00000434 265F movea.l A3, [A7]+ 00000436 6100 09D6 bsr +0x9D8 /* 00000E0E */ 0000043A 2253 movea.l A1, [A3] 0000043C 2069 001C movea.l A0, [A1 + 0x1C] 00000440 2050 movea.l A0, [A0] 00000442 2068 0006 movea.l A0, [A0 + 0x6] 00000446 A025 syscall GetHandleSize 00000448 2050 movea.l A0, [A0] 0000044A 43E9 0076 lea.l A1, [A1 + 0x76] 0000044E A02E syscall BlockMove/BlockMoveData label00000450: 00000450 6100 04D0 bsr +0x4D2 /* 00000922 */ 00000454 2053 movea.l A0, [A3] 00000456 4268 0028 clr.w [A0 + 0x28] 0000045A 317C 0001 003A move.w [A0 + 0x3A], 0x1 00000460 42A8 002C clr.l [A0 + 0x2C] 00000464 317C FFFF 0030 move.w [A0 + 0x30], 0xFFFF 0000046A 4268 0044 clr.w [A0 + 0x44] 0000046E 594F subq.w A7, 4 00000470 2F3C 5041 434B move.l -[A7], 0x5041434B /* 'PACK' */ 00000476 3F3C 0006 move.w -[A7], 0x6 0000047A A9A0 syscall GetResource 0000047C 4A9F tst.l [A7]+ 0000047E 6608 bne +0xA /* 00000488 */ 00000480 3F3C 0001 move.w -[A7], 0x1 00000484 6100 1824 bsr +0x1826 /* 00001CAA */ label00000488: 00000488 594F subq.w A7, 4 0000048A 4267 clr.w -[A7] 0000048C 3F3C 0006 move.w -[A7], 0x6 00000490 A9ED syscall Pack6 00000492 201F move.l D0, [A7]+ 00000494 6608 bne +0xA /* 0000049E */ 00000496 3F3C 0001 move.w -[A7], 0x1 0000049A 6100 180E bsr +0x1810 /* 00001CAA */ label0000049E: 0000049E 2040 movea.l A0, D0 000004A0 2250 movea.l A1, [A0] 000004A2 2053 movea.l A0, [A3] 000004A4 45E9 000C lea.l A2, [A1 + 0xC] 000004A8 6100 00FE bsr +0x100 /* 000005A8 */ 000004AC 1141 0036 move.b [A0 + 0x36], D1 000004B0 45E9 0010 lea.l A2, [A1 + 0x10] 000004B4 6100 00F2 bsr +0xF4 /* 000005A8 */ 000004B8 1141 0037 move.b [A0 + 0x37], D1 000004BC 1029 0009 move.b D0, [A1 + 0x9] 000004C0 1140 0032 move.b [A0 + 0x32], D0 000004C4 1229 0014 move.b D1, [A1 + 0x14] 000004C8 1141 0033 move.b [A0 + 0x33], D1 000004CC 4268 0034 clr.w [A0 + 0x34] 000004D0 1169 000A 0035 move.b [A0 + 0x35], [A1 + 0xA] 000004D6 4268 0038 clr.w [A0 + 0x38] 000004DA 1169 0007 0039 move.b [A0 + 0x39], [A1 + 0x7] 000004E0 554F subq.w A7, 2 000004E2 3F00 move.w -[A7], D0 000004E4 554F subq.w A7, 2 000004E6 3F01 move.w -[A7], D1 000004E8 A88D syscall CharWidth 000004EA 2053 movea.l A0, [A3] 000004EC 315F 003E move.w [A0 + 0x3E], [A7]+ 000004F0 A88D syscall CharWidth 000004F2 2053 movea.l A0, [A3] 000004F4 315F 003C move.w [A0 + 0x3C], [A7]+ 000004F8 6100 0454 bsr +0x456 /* 0000094E */ 000004FC 4CDF 0600 movem.l A1,A2, [A7]+ 00000500 4E75 rts fn00000502: 00000502 48E7 0708 movem.l -[A7], D5,D6,D7,A4 00000506 2C2B 00CA move.l D6, [A3 + 0xCA] 0000050A 206B 001C movea.l A0, [A3 + 0x1C] 0000050E 2050 movea.l A0, [A0] 00000510 2068 0002 movea.l A0, [A0 + 0x2] 00000514 2050 movea.l A0, [A0] 00000516 2868 002A movea.l A4, [A0 + 0x2A] 0000051A 204C movea.l A0, A4 0000051C A029 syscall HLock 0000051E 2A14 move.l D5, [A4] 00000520 0645 000A addi.w D5, 0xA /* '\n' */ 00000524 3E3C 0003 move.w D7, 0x3 label00000528: 00000528 2F06 move.l -[A7], D6 0000052A 3F07 move.w -[A7], D7 0000052C 2F05 move.l -[A7], D5 0000052E AA9C syscall SetEntryColor 00000530 5247 addq.w D7, 1 00000532 5045 addq.w D5, 8 00000534 0C47 000B cmpi.w D7, 0xB 00000538 65EE bcs -0x10 /* 00000528 */ 0000053A 204C movea.l A0, A4 0000053C A02A syscall HUnlock 0000053E 2F0A move.l -[A7], A2 00000540 AA94 syscall ActivatePalette 00000542 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+ 00000546 4E75 rts fn00000548: 00000548 48E7 40C0 movem.l -[A7], D1,A0,A1 0000054C 3350 00B4 move.w [A1 + 0xB4], [A0] 00000550 0C69 0001 00B4 cmpi.w [A1 + 0xB4], 0x1 00000556 6644 bne +0x46 /* 0000059C */ 00000558 2228 0002 move.l D1, [A0 + 0x2] 0000055C D0C1 add.w A0, D1 0000055E 0CA8 0000 0000 0006 cmpi.l [A0 + 0x6], 0x0 00000566 662C bne +0x2E /* 00000594 */ 00000568 0CA8 0008 0008 000A cmpi.l [A0 + 0xA], 0x80008 00000570 6622 bne +0x24 /* 00000594 */ 00000572 0C68 0004 0020 cmpi.w [A0 + 0x20], 0x4 00000578 661A bne +0x1C /* 00000594 */ 0000057A 2228 002A move.l D1, [A0 + 0x2A] 0000057E 2F29 0068 move.l -[A7], [A1 + 0x68] 00000582 A9A2 syscall LoadResource 00000584 2069 0068 movea.l A0, [A1 + 0x68] 00000588 2050 movea.l A0, [A0] 0000058A D1C1 add.l A0, D1 0000058C 0C68 0007 0006 cmpi.w [A0 + 0x6], 0x7 00000592 670E beq +0x10 /* 000005A2 */ label00000594: 00000594 337C FFFF 00B4 move.w [A1 + 0xB4], 0xFFFF 0000059A 6006 bra +0x8 /* 000005A2 */ label0000059C: 0000059C 337C FFFF 00B4 move.w [A1 + 0xB4], 0xFFFF label000005A2: 000005A2 4CDF 0302 movem.l D1,A0,A1, [A7]+ 000005A6 4E75 rts fn000005A8: 000005A8 7000 moveq.l D0, 0x00 label000005AA: 000005AA 121A move.b D1, [A2]+ 000005AC 0C01 0020 cmpi.b D1, 0x20 /* ' ' */ 000005B0 6608 bne +0xA /* 000005BA */ 000005B2 5200 addq.b D0, 1 000005B4 0C00 0004 cmpi.b D0, 0x4 000005B8 6DF0 blt -0xE /* 000005AA */ label000005BA: 000005BA 0C01 0061 cmpi.b D1, 0x61 /* 'a' */ 000005BE 6D04 blt +0x6 /* 000005C4 */ 000005C0 0401 0020 subi.b D1, 0x20 /* ' ' */ label000005C4: 000005C4 4E75 rts label000005C6: 000005C6 B6FC 0000 cmpa.w A3, 0x0 000005CA 6700 FBDE beq -0x420 /* 000001AA */ 000005CE 2F0B move.l -[A7], A3 000005D0 2653 movea.l A3, [A3] 000005D2 4A6B 00CE tst.w [A3 + 0xCE] 000005D6 6708 beq +0xA /* 000005E0 */ 000005D8 4267 clr.w -[A7] 000005DA A999 syscall UpdateResFile 000005DC 2657 movea.l A3, [A7] 000005DE 2653 movea.l A3, [A3] label000005E0: 000005E0 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 000005E6 664E bne +0x50 /* 00000636 */ 000005E8 0C6B 0001 00B2 cmpi.w [A3 + 0xB2], 0x1 000005EE 6646 bne +0x48 /* 00000636 */ 000005F0 206B 0020 movea.l A0, [A3 + 0x20] 000005F4 2008 move.l D0, A0 000005F6 6702 beq +0x4 /* 000005FA */ 000005F8 A02A syscall HUnlock label000005FA: 000005FA 206B 0018 movea.l A0, [A3 + 0x18] 000005FE 2008 move.l D0, A0 00000600 6704 beq +0x6 /* 00000606 */ 00000602 A02A syscall HUnlock 00000604 A023 syscall DisposHandle/DisposeHandle label00000606: 00000606 206B 009C movea.l A0, [A3 + 0x9C] 0000060A 670C beq +0xE /* 00000618 */ 0000060C 2050 movea.l A0, [A0] 0000060E 42A8 002A clr.l [A0 + 0x2A] 00000612 2F2B 009C move.l -[A7], [A3 + 0x9C] 00000616 AA04 syscall DisposePixMap/DisposPixMap label00000618: 00000618 2F0A move.l -[A7], A2 0000061A 2F2B 00C6 move.l -[A7], [A3 + 0xC6] 0000061E 1F3C 0001 move.b -[A7], 0x1 00000622 AA95 syscall SetPalette/NSetPalette 00000624 2657 movea.l A3, [A7] 00000626 2653 movea.l A3, [A3] 00000628 202B 00CA move.l D0, [A3 + 0xCA] 0000062C 6708 beq +0xA /* 00000636 */ 0000062E 2F00 move.l -[A7], D0 00000630 AA93 syscall DisposePalette 00000632 2657 movea.l A3, [A7] 00000634 2653 movea.l A3, [A3] label00000636: 00000636 362B 0074 move.w D3, [A3 + 0x74] 0000063A 6608 bne +0xA /* 00000644 */ 0000063C 6100 1122 bsr +0x1124 /* 00001760 */ 00000640 2657 movea.l A3, [A7] 00000642 2653 movea.l A3, [A3] label00000644: 00000644 4AAB 001C tst.l [A3 + 0x1C] 00000648 6706 beq +0x8 /* 00000650 */ 0000064A 2F2B 001C move.l -[A7], [A3 + 0x1C] 0000064E AA08 syscall DisposePixPat/DisposPixPat label00000650: 00000650 205F movea.l A0, [A7]+ 00000652 2650 movea.l A3, [A0] 00000654 362B 0074 move.w D3, [A3 + 0x74] 00000658 A023 syscall DisposHandle/DisposeHandle 0000065A 4A43 tst.w D3 0000065C 6700 FB4C beq -0x4B2 /* 000001AA */ 00000660 97CB sub.l A3, A3 00000662 0C43 0001 cmpi.w D3, 0x1 00000666 670E beq +0x10 /* 00000676 */ 00000668 367C 0001 movea.w A3, 0x1 0000066C 0C43 0002 cmpi.w D3, 0x2 00000670 6704 beq +0x6 /* 00000676 */ 00000672 367C FFFF movea.w A3, 0xFFFF label00000676: 00000676 6000 FB32 bra -0x4CC /* 000001AA */ label0000067A: 0000067A 6100 FC46 bsr -0x3B8 /* 000002C2 */ 0000067E 2F0B move.l -[A7], A3 00000680 2653 movea.l A3, [A3] 00000682 610C bsr +0xE /* 00000690 */ 00000684 265F movea.l A3, [A7]+ 00000686 6000 FB22 bra -0x4DC /* 000001AA */ label0000068A: 0000068A 6104 bsr +0x6 /* 00000690 */ 0000068C 6000 FB0E bra -0x4F0 /* 0000019C */ fn00000690: 00000690 363C 0018 move.w D3, 0x18 00000694 4A6B 0034 tst.w [A3 + 0x34] 00000698 6604 bne +0x6 /* 0000069E */ 0000069A 363C 0019 move.w D3, 0x19 label0000069E: 0000069E 6100 FAC8 bsr -0x536 /* 00000168 */ 000006A2 7200 moveq.l D1, 0x00 000006A4 7000 moveq.l D0, 0x00 000006A6 1038 0209 move.b D0, [0x00000209 /* SPClikCaret */] 000006AA 0240 000F andi.w D0, 0xF 000006AE E540 asl D0.w, 2 000006B0 43FA 001E lea.l A1, [PC + 0x1E /* 000006D0, value 0x3C200C00 */] 000006B4 613E bsr +0x40 /* 000006F4 */ 000006B6 5841 addq.w D1, 4 000006B8 3601 move.w D3, D1 000006BA 6100 FACC bsr -0x532 /* 00000188 */ 000006BE 1638 020B move.b D3, [0x0000020B /* SPMisc2/PCDeskPat */] 000006C2 E44B lsr D3.w, 2 000006C4 0243 0003 andi.w D3, 0x3 000006C8 5E43 addq.w D3, 7 000006CA 6100 FA7C bsr -0x582 /* 00000148 */ 000006CE 4E75 rts 000006D0 3C20 move.w D6, -[A0] 000006D2 0C00 2F0A cmpi.b D0, 0xA /* '\n' */ // begin alternate branch 000006D4-000006D6 fn000006D4: 000006D4 2F0A move.l -[A7], A2 // end alternate branch 000006D4-000006D6 fn000006D4: // (misaligned) 000006D6 D047 add.w D0, D7 000006D8 3F00 move.w -[A7], D0 000006DA 486E FFFE pea.l [A6 - 0x2] 000006DE 486E FFFA pea.l [A6 - 0x6] 000006E2 486E FFF2 pea.l [A6 - 0xE] 000006E6 A98D syscall GetDialogItem/GetDItem 000006E8 4E75 rts fn000006EA: 000006EA 41F8 01F8 lea.l A0, [0x000001F8 /* SPValid/SysParam */] 000006EE 70FF moveq.l D0, 0xFFFFFFFF 000006F0 A038 syscall WriteParam 000006F2 4E75 rts fn000006F4: 000006F4 7200 moveq.l D1, 0x00 label000006F6: 000006F6 B019 cmp.b D0, [A1]+ 000006F8 6C08 bge +0xA /* 00000702 */ 000006FA 5241 addq.w D1, 1 000006FC 0C41 0004 cmpi.w D1, 0x4 00000700 6DF4 blt -0xA /* 000006F6 */ label00000702: 00000702 4E75 rts fn00000704: 00000704 2F05 move.l -[A7], D5 00000706 3003 move.w D0, D3 00000708 5F40 subq.w D0, 7 0000070A 31C0 0A24 move.w [0x00000A24 /* MenuFlash */], D0 0000070E E540 asl D0.w, 2 00000710 1238 020B move.b D1, [0x0000020B /* SPMisc2/PCDeskPat */] 00000714 0241 FFF3 andi.w D1, 0xFFF3 00000718 8240 or.w D1, D0 0000071A 11C1 020B move.b [0x0000020B /* SPMisc2/PCDeskPat */], D1 0000071E 61CA bsr -0x34 /* 000006EA */ 00000720 3A38 0A24 move.w D5, [0x00000A24 /* MenuFlash */] 00000724 6708 beq +0xA /* 0000072E */ label00000726: 00000726 610A bsr +0xC /* 00000732 */ 00000728 6108 bsr +0xA /* 00000732 */ 0000072A 5345 subq.w D5, 1 0000072C 66F8 bne -0x6 /* 00000726 */ label0000072E: 0000072E 2A1F move.l D5, [A7]+ 00000730 4E75 rts fn00000732: 00000732 7002 moveq.l D0, 0x02 00000734 619E bsr -0x60 /* 000006D4 */ 00000736 066E 000E FFF2 addi.w [A6 - 0xE], 0xE 0000073C 066E 000C FFF4 addi.w [A6 - 0xC], 0xC 00000742 046E 0018 FFF6 subi.w [A6 - 0xA], 0x18 00000748 046E 000D FFF8 subi.w [A6 - 0x8], 0xD /* '\r' */ 0000074E 486E FFF2 pea.l [A6 - 0xE] 00000752 A8A4 syscall InvertRect 00000754 307C 0005 movea.w A0, 0x5 00000758 A03B syscall Delay 0000075A 4E75 rts fn0000075C: 0000075C 2F0C move.l -[A7], A4 0000075E 594F subq.w A7, 4 00000760 2F3C 5041 434B move.l -[A7], 0x5041434B /* 'PACK' */ 00000766 3F3C 0006 move.w -[A7], 0x6 0000076A A9A0 syscall GetResource 0000076C 4A9F tst.l [A7]+ 0000076E 6608 bne +0xA /* 00000778 */ 00000770 3F3C 0001 move.w -[A7], 0x1 00000774 6100 1534 bsr +0x1536 /* 00001CAA */ label00000778: 00000778 594F subq.w A7, 4 0000077A 4267 clr.w -[A7] 0000077C 3F3C 0006 move.w -[A7], 0x6 00000780 A9ED syscall Pack6 00000782 201F move.l D0, [A7]+ 00000784 6608 bne +0xA /* 0000078E */ 00000786 3F3C 0001 move.w -[A7], 0x1 0000078A 6100 151E bsr +0x1520 /* 00001CAA */ label0000078E: 0000078E 2840 movea.l A4, D0 00000790 2054 movea.l A0, [A4] 00000792 0C43 0018 cmpi.w D3, 0x18 00000796 670E beq +0x10 /* 000007A6 */ 00000798 0C28 0000 000A cmpi.b [A0 + 0xA], 0x0 0000079E 6756 beq +0x58 /* 000007F6 */ 000007A0 4228 000A clr.b [A0 + 0xA] 000007A4 600E bra +0x10 /* 000007B4 */ label000007A6: 000007A6 0C28 00FF 000A cmpi.b [A0 + 0xA], 0xFF 000007AC 6748 beq +0x4A /* 000007F6 */ 000007AE 117C 00FF 000A move.b [A0 + 0xA], 0xFF label000007B4: 000007B4 1768 000A 0035 move.b [A3 + 0x35], [A0 + 0xA] 000007BA 2F0C move.l -[A7], A4 000007BC 2F17 move.l -[A7], [A7] 000007BE 6100 15C4 bsr +0x15C6 /* 00001D84 */ 000007C2 554F subq.w A7, 2 000007C4 A9AF syscall ResError 000007C6 301F move.w D0, [A7]+ 000007C8 670C beq +0xE /* 000007D6 */ 000007CA 3F3C 0002 move.w -[A7], 0x2 000007CE 6100 14DA bsr +0x14DC /* 00001CAA */ 000007D2 584F addq.w A7, 4 000007D4 6012 bra +0x14 /* 000007E8 */ label000007D6: 000007D6 A9B0 syscall WriteResource 000007D8 554F subq.w A7, 2 000007DA A9AF syscall ResError 000007DC 301F move.w D0, [A7]+ 000007DE 6708 beq +0xA /* 000007E8 */ 000007E0 3F3C 0002 move.w -[A7], 0x2 000007E4 6100 14C4 bsr +0x14C6 /* 00001CAA */ label000007E8: 000007E8 303C 001E move.w D0, 0x1E 000007EC 6100 FEE6 bsr -0x118 /* 000006D4 */ 000007F0 486E FFF2 pea.l [A6 - 0xE] 000007F4 A8A3 syscall EraseRect label000007F6: 000007F6 285F movea.l A4, [A7]+ 000007F8 4E75 rts fn000007FA: 000007FA 3003 move.w D0, D3 000007FC 5940 subq.w D0, 4 000007FE 0C40 0003 cmpi.w D0, 0x3 00000802 6D02 blt +0x4 /* 00000806 */ 00000804 7002 moveq.l D0, 0x02 label00000806: 00000806 41FA FEC8 lea.l A0, [PC - 0x138 /* 000006D0, value 0x3C200C00 */] 0000080A 1030 0000 move.b D0, [A0 + D0.w] 0000080E 48C0 ext.l D0 00000810 21C0 02F4 move.l [0x000002F4 /* CaretTime */], D0 00000814 E448 lsr D0.w, 2 00000816 0240 000F andi.w D0, 0xF 0000081A 1238 0209 move.b D1, [0x00000209 /* SPClikCaret */] 0000081E 0241 00F0 andi.w D1, 0xF0 00000822 8240 or.w D1, D0 00000824 11C1 0209 move.b [0x00000209 /* SPClikCaret */], D1 00000828 6100 FEC0 bsr -0x13E /* 000006EA */ 0000082C 4E75 rts label0000082E: 0000082E 6100 157C bsr +0x157E /* 00001DAC */ 00000832 204B movea.l A0, A3 00000834 2238 02F4 move.l D1, [0x000002F4 /* CaretTime */] 00000838 D2A8 000C add.l D1, [A0 + 0xC] 0000083C 6100 1536 bsr +0x1538 /* 00001D74 */ 00000840 B280 cmp.l D1, D0 00000842 6202 bhi +0x4 /* 00000846 */ 00000844 6118 bsr +0x1A /* 0000085E */ label00000846: 00000846 284A movea.l A4, A2 00000848 202B 002C move.l D0, [A3 + 0x2C] 0000084C 670A beq +0xC /* 00000858 */ 0000084E 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00000854 6600 F946 bne -0x6B8 /* 0000019C */ label00000858: 00000858 615A bsr +0x5C /* 000008B4 */ 0000085A 6000 F940 bra -0x6BE /* 0000019C */ fn0000085E: 0000085E 6100 1514 bsr +0x1516 /* 00001D74 */ 00000862 2140 000C move.l [A0 + 0xC], D0 00000866 4628 0010 not.b [A0 + 0x10] 0000086A 204A movea.l A0, A2 0000086C 4A28 006F tst.b [A0 + 0x6F] 00000870 6740 beq +0x42 /* 000008B2 */ 00000872 7003 moveq.l D0, 0x03 00000874 6100 FE5E bsr -0x1A0 /* 000006D4 */ 00000878 066E 000B FFF4 addi.w [A6 - 0xC], 0xB 0000087E 536E FFF6 subq.w [A6 - 0xA], 1 00000882 046E 000C FFF8 subi.w [A6 - 0x8], 0xC 00000888 41EE FFF2 lea.l A0, [A6 - 0xE] 0000088C 2F28 0004 move.l -[A7], [A0 + 0x4] 00000890 2F10 move.l -[A7], [A0] 00000892 A893 syscall MoveTo 00000894 3F3C 0008 move.w -[A7], 0x8 00000898 A89C syscall PenMode 0000089A 2255 movea.l A1, [A5] 0000089C 4869 FFF0 pea.l [A1 - 0x10] 000008A0 4A2B 0010 tst.b [A3 + 0x10] 000008A4 6606 bne +0x8 /* 000008AC */ 000008A6 4869 FFF8 pea.l [A1 - 0x8] 000008AA 2E9F move.l [A7], [A7]+ label000008AC: 000008AC A89D syscall PenPat 000008AE A891 syscall LineTo 000008B0 A89E syscall PenNormal label000008B2: 000008B2 4E75 rts fn000008B4: 000008B4 4E56 FEF8 link A6, -0x0108 000008B8 6168 bsr +0x6A /* 00000922 */ 000008BA 6100 00F0 bsr +0xF2 /* 000009AC */ 000008BE 3F2B 003A move.w -[A7], [A3 + 0x3A] 000008C2 377C 0003 003A move.w [A3 + 0x3A], 0x3 000008C8 6100 01C8 bsr +0x1CA /* 00000A92 */ 000008CC 7000 moveq.l D0, 0x00 000008CE 6100 0170 bsr +0x172 /* 00000A40 */ 000008D2 2038 09FC move.l D0, [0x000009FC] 000008D6 5540 subq.w D0, 2 000008D8 4840 swap.w D0 000008DA 2F00 move.l -[A7], D0 000008DC A893 syscall MoveTo 000008DE 6100 01AE bsr +0x1B0 /* 00000A8E */ 000008E2 204B movea.l A0, A3 000008E4 315F 003A move.w [A0 + 0x3A], [A7]+ 000008E8 317C 0001 003A move.w [A0 + 0x3A], 0x1 000008EE 3028 003A move.w D0, [A0 + 0x3A] 000008F2 6708 beq +0xA /* 000008FC */ 000008F4 2028 002C move.l D0, [A0 + 0x2C] 000008F8 6602 bne +0x4 /* 000008FC */ 000008FA 6106 bsr +0x8 /* 00000902 */ label000008FC: 000008FC 6150 bsr +0x52 /* 0000094E */ 000008FE 4E5E unlink A6 00000900 4E75 rts fn00000902: 00000902 6100 00EE bsr +0xF0 /* 000009F2 */ 00000906 6100 018A bsr +0x18C /* 00000A92 */ 0000090A 7000 moveq.l D0, 0x00 0000090C 6100 0132 bsr +0x134 /* 00000A40 */ 00000910 2038 09FC move.l D0, [0x000009FC] 00000914 5540 subq.w D0, 2 00000916 4840 swap.w D0 00000918 2F00 move.l -[A7], D0 0000091A A893 syscall MoveTo 0000091C 6100 0170 bsr +0x172 /* 00000A8E */ 00000920 4E75 rts fn00000922: 00000922 241F move.l D2, [A7]+ 00000924 2055 movea.l A0, [A5] 00000926 2050 movea.l A0, [A0] 00000928 2F28 0044 move.l -[A7], [A0 + 0x44] 0000092C 2F28 0048 move.l -[A7], [A0 + 0x48] 00000930 5D4F subq.w A7, 6 00000932 2F0F move.l -[A7], A7 00000934 3F3C F030 move.w -[A7], 0xF030 00000938 3F3C 0001 move.w -[A7], 0x1 0000093C 611E bsr +0x20 /* 0000095C */ 0000093E A887 syscall TextFont 00000940 A888 syscall TextFace 00000942 A88A syscall TextSize 00000944 4267 clr.w -[A7] 00000946 A889 syscall TextMode 00000948 2042 movea.l A0, D2 0000094A 4ED0 jmp [A0] 0000094C 4E75 rts fn0000094E: 0000094E 241F move.l D2, [A7]+ 00000950 A889 syscall TextMode 00000952 A88A syscall TextSize 00000954 A887 syscall TextFont 00000956 A888 syscall TextFace 00000958 2042 movea.l A0, D2 0000095A 4ED0 jmp [A0] fn0000095C: 0000095C 4E56 0000 link A6, 0 00000960 226E 000C movea.l A1, [A6 + 0xC] 00000964 4291 clr.l [A1] 00000966 4269 0004 clr.w [A1 + 0x4] 0000096A 594F subq.w A7, 4 0000096C 2F3C 6669 6E66 move.l -[A7], 0x66696E66 /* 'finf' */ 00000972 3F2E 000A move.w -[A7], [A6 + 0xA] 00000976 A9A0 syscall GetResource 00000978 201F move.l D0, [A7]+ 0000097A 6608 bne +0xA /* 00000984 */ 0000097C 3F3C 0001 move.w -[A7], 0x1 00000980 6100 1328 bsr +0x132A /* 00001CAA */ label00000984: 00000984 2040 movea.l A0, D0 00000986 2050 movea.l A0, [A0] 00000988 3218 move.w D1, [A0]+ 0000098A 302E 0008 move.w D0, [A6 + 0x8] 0000098E B240 cmp.w D1, D0 00000990 6510 bcs +0x12 /* 000009A2 */ 00000992 5340 subq.w D0, 1 00000994 E340 asl D0.w, 1 00000996 3200 move.w D1, D0 00000998 E341 asl D1.w, 1 0000099A D041 add.w D0, D1 0000099C D0C0 add.w A0, D0 0000099E 22D8 move.l [A1]+, [A0]+ 000009A0 3290 move.w [A1], [A0] label000009A2: 000009A2 4E5E unlink A6 000009A4 205F movea.l A0, [A7]+ 000009A6 4FEF 0008 lea.l A7, [A7 + 0x8] 000009AA 4ED0 jmp [A0] fn000009AC: 000009AC 594F subq.w A7, 4 000009AE 204F movea.l A0, A7 000009B0 20B8 020C move.l [A0], [0x0000020C /* Time */] 000009B4 4240 clr.w D0 000009B6 7002 moveq.l D0, 0x02 label000009B8: 000009B8 3F00 move.w -[A7], D0 000009BA 594F subq.w A7, 4 000009BC 2F3C 5041 434B move.l -[A7], 0x5041434B /* 'PACK' */ 000009C2 3F3C 0006 move.w -[A7], 0x6 000009C6 A9A0 syscall GetResource 000009C8 4A9F tst.l [A7]+ 000009CA 6608 bne +0xA /* 000009D4 */ 000009CC 3F3C 0001 move.w -[A7], 0x1 000009D0 6100 12D8 bsr +0x12DA /* 00001CAA */ label000009D4: 000009D4 301F move.w D0, [A7]+ 000009D6 1F00 move.b -[A7], D0 000009D8 486E FF00 pea.l [A6 - 0x100] 000009DC 3F00 move.w -[A7], D0 000009DE A9ED syscall Pack6 000009E0 554F subq.w A7, 2 000009E2 A9AF syscall ResError 000009E4 301F move.w D0, [A7]+ 000009E6 6708 beq +0xA /* 000009F0 */ 000009E8 3F3C 0001 move.w -[A7], 0x1 000009EC 6100 12BC bsr +0x12BE /* 00001CAA */ label000009F0: 000009F0 4E75 rts fn000009F2: 000009F2 594F subq.w A7, 4 000009F4 204F movea.l A0, A7 000009F6 20B8 020C move.l [A0], [0x0000020C /* Time */] 000009FA 4240 clr.w D0 000009FC 204B movea.l A0, A3 000009FE 7002 moveq.l D0, 0x02 00000A00 3228 003A move.w D1, [A0 + 0x3A] 00000A04 0C41 0003 cmpi.w D1, 0x3 00000A08 670E beq +0x10 /* 00000A18 */ 00000A0A 0C41 0001 cmpi.w D1, 0x1 00000A0E 6604 bne +0x6 /* 00000A14 */ 00000A10 7000 moveq.l D0, 0x00 00000A12 6004 bra +0x6 /* 00000A18 */ label00000A14: 00000A14 2EB8 0200 move.l [A7], [0x00000200 /* SPAlarm */] label00000A18: 00000A18 2428 002C move.l D2, [A0 + 0x2C] 00000A1C 6702 beq +0x4 /* 00000A20 */ 00000A1E 2E82 move.l [A7], D2 label00000A20: 00000A20 6096 bra -0x68 /* 000009B8 */ fn00000A22: 00000A22 6122 bsr +0x24 /* 00000A46 */ 00000A24 4A6B 0028 tst.w [A3 + 0x28] 00000A28 670C beq +0xE /* 00000A36 */ 00000A2A 41F8 09FA lea.l A0, [0x000009FA /* TempRect/Scratch8 */] 00000A2E 5268 0006 addq.w [A0 + 0x6], 1 00000A32 426B 0028 clr.w [A3 + 0x28] label00000A36: 00000A36 08B8 0007 0938 bclr.b [0x00000938 /* HiliteMode */], 0x7 00000A3C A8A4 syscall InvertRect 00000A3E 4E75 rts fn00000A40: 00000A40 6104 bsr +0x6 /* 00000A46 */ 00000A42 584F addq.w A7, 4 00000A44 4E75 rts fn00000A46: 00000A46 205F movea.l A0, [A7]+ 00000A48 224B movea.l A1, A3 00000A4A 21FA 1252 09FA move.l [0x000009FA /* TempRect/Scratch8 */], [PC + 0x1252 /* 00001C9E, value 0x73015D, cstring "" */] 00000A50 21FA 1250 09FE move.l [0x000009FE], [PC + 0x1250 /* 00001CA2, value 0x80015D, cstring "" */] 00000A56 D040 add.w D0, D0 00000A58 6A02 bpl +0x4 /* 00000A5C */ 00000A5A 7000 moveq.l D0, 0x00 label00000A5C: 00000A5C 31F1 0046 09FC move.w [0x000009FC], [A1 + D0.w + 0x46] 00000A62 31F1 0048 0A00 move.w [0x00000A00], [A1 + D0.w + 0x48] 00000A68 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00000A6E 660C bne +0xE /* 00000A7C */ 00000A70 0678 004A 09FA addi.w [0x000009FA /* TempRect/Scratch8 */], 0x4A /* 'J' */ 00000A76 0678 004A 09FE addi.w [0x000009FE], 0x4A /* 'J' */ label00000A7C: 00000A7C 0678 001E 09FC addi.w [0x000009FC], 0x1E 00000A82 0678 001E 0A00 addi.w [0x00000A00], 0x1E 00000A88 4878 09FA push.l 0x9FA 00000A8C 4ED0 jmp [A0] fn00000A8E: 00000A8E 70FF moveq.l D0, 0xFFFFFFFF 00000A90 6002 bra +0x4 /* 00000A94 */ fn00000A92: 00000A92 7000 moveq.l D0, 0x00 label00000A94: 00000A94 48E7 1F20 movem.l -[A7], D3,D4,D5,D6,D7,A2 00000A98 2A00 move.l D5, D0 00000A9A 204B movea.l A0, A3 00000A9C 3228 003A move.w D1, [A0 + 0x3A] 00000AA0 5341 subq.w D1, 1 00000AA2 660A bne +0xC /* 00000AAE */ 00000AA4 3028 003C move.w D0, [A0 + 0x3C] 00000AA8 1228 0032 move.b D1, [A0 + 0x32] 00000AAC 6008 bra +0xA /* 00000AB6 */ label00000AAE: 00000AAE 3028 003E move.w D0, [A0 + 0x3E] 00000AB2 1228 0033 move.b D1, [A0 + 0x33] label00000AB6: 00000AB6 1141 0040 move.b [A0 + 0x40], D1 00000ABA 3140 0042 move.w [A0 + 0x42], D0 00000ABE 7C00 moveq.l D6, 0x00 00000AC0 42A8 0056 clr.l [A0 + 0x56] 00000AC4 45EE FF00 lea.l A2, [A6 - 0x100] 00000AC8 7E00 moveq.l D7, 0x00 00000ACA 1E1A move.b D7, [A2]+ 00000ACC 7604 moveq.l D3, 0x04 label00000ACE: 00000ACE 7800 moveq.l D4, 0x00 00000AD0 204B movea.l A0, A3 label00000AD2: 00000AD2 1232 4000 move.b D1, [A2 + D4.w] 00000AD6 5244 addq.w D4, 1 00000AD8 B228 0040 cmp.b D1, [A0 + 0x40] 00000ADC 670A beq +0xC /* 00000AE8 */ 00000ADE 0C01 0020 cmpi.b D1, 0x20 /* ' ' */ 00000AE2 6704 beq +0x6 /* 00000AE8 */ 00000AE4 B847 cmp.w D4, D7 00000AE6 6FEA ble -0x14 /* 00000AD2 */ label00000AE8: 00000AE8 5344 subq.w D4, 1 00000AEA 554F subq.w A7, 2 00000AEC 2F0A move.l -[A7], A2 00000AEE 4267 clr.w -[A7] 00000AF0 3F04 move.w -[A7], D4 00000AF2 A886 syscall TextWidth 00000AF4 3017 move.w D0, [A7] 00000AF6 0C40 0010 cmpi.w D0, 0x10 00000AFA 6C12 bge +0x14 /* 00000B0E */ 00000AFC 3EBC 0010 move.w [A7], 0x10 00000B00 2205 move.l D1, D5 00000B02 6718 beq +0x1A /* 00000B1C */ 00000B04 6172 bsr +0x74 /* 00000B78 */ 00000B06 487A 119E pea.l [PC + 0x119E /* 00001CA6, value 0x2202000, pstring " " */] 00000B0A A884 syscall DrawString 00000B0C 7008 moveq.l D0, 0x08 label00000B0E: 00000B0E 2205 move.l D1, D5 00000B10 670A beq +0xC /* 00000B1C */ 00000B12 6164 bsr +0x66 /* 00000B78 */ 00000B14 2F0A move.l -[A7], A2 00000B16 4267 clr.w -[A7] 00000B18 3F04 move.w -[A7], D4 00000B1A A885 syscall DrawText label00000B1C: 00000B1C 204B movea.l A0, A3 00000B1E 3186 3046 move.w [A0 + D3.w + 0x46], D6 00000B22 DC5F add.w D6, [A7]+ 00000B24 3186 3048 move.w [A0 + D3.w + 0x48], D6 00000B28 5843 addq.w D3, 4 00000B2A D4C4 add.w A2, D4 00000B2C 9E44 sub.w D7, D4 00000B2E 6F28 ble +0x2A /* 00000B58 */ 00000B30 5347 subq.w D7, 1 00000B32 1028 0040 move.b D0, [A0 + 0x40] 00000B36 B012 cmp.b D0, [A2] 00000B38 6706 beq +0x8 /* 00000B40 */ 00000B3A 303C 0004 move.w D0, 0x4 00000B3E 6004 bra +0x6 /* 00000B44 */ label00000B40: 00000B40 3028 0042 move.w D0, [A0 + 0x42] label00000B44: 00000B44 DC40 add.w D6, D0 00000B46 2205 move.l D1, D5 00000B48 6708 beq +0xA /* 00000B52 */ 00000B4A 612C bsr +0x2E /* 00000B78 */ 00000B4C 1012 move.b D0, [A2] 00000B4E 3F00 move.w -[A7], D0 00000B50 A883 syscall DrawChar label00000B52: 00000B52 524A addq.w A2, 1 00000B54 6000 FF78 bra -0x86 /* 00000ACE */ label00000B58: 00000B58 303A 1142 move.w D0, [PC + 0x1142 /* 00001C9C, value 0x19E */] 00000B5C 9046 sub.w D0, D6 00000B5E E240 asr D0.w, 1 00000B60 5440 addq.w D0, 2 00000B62 7212 moveq.l D1, 0x12 00000B64 2146 0046 move.l [A0 + 0x46], D6 label00000B68: 00000B68 D170 1046 add.w [A0 + D1.w + 0x46], D0 00000B6C 5541 subq.w D1, 2 00000B6E 6AF8 bpl -0x6 /* 00000B68 */ 00000B70 6132 bsr +0x34 /* 00000BA4 */ 00000B72 4CDF 04F8 movem.l D3,D4,D5,D6,D7,A2, [A7]+ 00000B76 4E75 rts fn00000B78: 00000B78 3F00 move.w -[A7], D0 00000B7A 594F subq.w A7, 4 00000B7C 2F0F move.l -[A7], A7 00000B7E A89A syscall GetPen 00000B80 301F move.w D0, [A7]+ 00000B82 321F move.w D1, [A7]+ 00000B84 5440 addq.w D0, 2 00000B86 31C0 09FE move.w [0x000009FE], D0 00000B8A 0440 0010 subi.w D0, 0x10 00000B8E 31C0 09FA move.w [0x000009FA /* TempRect/Scratch8 */], D0 00000B92 31C1 09FC move.w [0x000009FC], D1 00000B96 D25F add.w D1, [A7]+ 00000B98 31C1 0A00 move.w [0x00000A00], D1 00000B9C 4878 09FA push.l 0x9FA 00000BA0 A87B syscall ClipRect 00000BA2 4E75 rts fn00000BA4: 00000BA4 2055 movea.l A0, [A5] 00000BA6 2050 movea.l A0, [A0] 00000BA8 4868 0010 pea.l [A0 + 0x10] 00000BAC A87B syscall ClipRect 00000BAE 4E75 rts 00000BB0 3F3C 0008 move.w -[A7], 0x8 00000BB4 A9C8 syscall SysBeep 00000BB6 6000 F5E4 bra -0xA1A /* 0000019C */ label00000BBA: 00000BBA 48E7 0808 movem.l -[A7], D4,A4 00000BBE 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 00000BC4 6600 0112 bne +0x114 /* 00000CD8 */ 00000BC8 0C6B 0001 00B2 cmpi.w [A3 + 0xB2], 0x1 00000BCE 6600 0108 bne +0x10A /* 00000CD8 */ 00000BD2 0C43 0026 cmpi.w D3, 0x26 /* '&' */ 00000BD6 6E00 F5C4 bgt -0xA3A /* 0000019C */ 00000BDA 303C 001F move.w D0, 0x1F 00000BDE 6100 FAF4 bsr -0x50A /* 000006D4 */ 00000BE2 576E FFF2 subq.w [A6 - 0xE], 3 00000BE6 046E 0010 FFF6 subi.w [A6 - 0xA], 0x10 00000BEC 066E 0070 FFF8 addi.w [A6 - 0x8], 0x70 /* 'p' */ 00000BF2 486E FFF2 pea.l [A6 - 0xE] 00000BF6 A8A3 syscall EraseRect 00000BF8 3003 move.w D0, D3 00000BFA 6100 FAD8 bsr -0x526 /* 000006D4 */ 00000BFE 2F2E FFF2 move.l -[A7], [A6 - 0xE] 00000C02 5557 subq.w [A7], 2 00000C04 536F 0002 subq.w [A7 + 0x2], 1 00000C08 A893 syscall MoveTo 00000C0A 2F3C 0000 0010 move.l -[A7], 0x10 00000C10 A892 syscall Line 00000C12 2F3C FFFF FFF0 move.l -[A7], 0xFFFFFFF0 00000C18 A894 syscall Move 00000C1A 2F3C 0000 0010 move.l -[A7], 0x10 00000C20 A892 syscall Line 00000C22 0443 001F subi.w D3, 0x1F 00000C26 3743 000A move.w [A3 + 0xA], D3 00000C2A 4A6B 00BC tst.w [A3 + 0xBC] 00000C2E 6700 0094 beq +0x96 /* 00000CC4 */ 00000C32 594F subq.w A7, 4 00000C34 2F3C 5041 434B move.l -[A7], 0x5041434B /* 'PACK' */ 00000C3A 3F3C 000C move.w -[A7], 0xC 00000C3E A9A0 syscall GetResource 00000C40 4A9F tst.l [A7]+ 00000C42 6608 bne +0xA /* 00000C4C */ 00000C44 3F3C 0001 move.w -[A7], 0x1 00000C48 6100 1060 bsr +0x1062 /* 00001CAA */ label00000C4C: 00000C4C 594F subq.w A7, 4 00000C4E 3F3C F030 move.w -[A7], 0xF030 00000C52 A9BA syscall GetString 00000C54 4A97 tst.l [A7] 00000C56 660A bne +0xC /* 00000C62 */ 00000C58 584F addq.w A7, 4 00000C5A 3F3C 0001 move.w -[A7], 0x1 00000C5E 6100 104A bsr +0x104C /* 00001CAA */ label00000C62: 00000C62 2057 movea.l A0, [A7] 00000C64 A029 syscall HLock 00000C66 2050 movea.l A0, [A0] 00000C68 554F subq.w A7, 2 00000C6A 2F38 0A06 move.l -[A7], [0x00000A06 /* MinusOne */] 00000C6E 2F08 move.l -[A7], A0 00000C70 206B 001C movea.l A0, [A3 + 0x1C] 00000C74 2050 movea.l A0, [A0] 00000C76 2068 0002 movea.l A0, [A0 + 0x2] 00000C7A 2050 movea.l A0, [A0] 00000C7C 2068 002A movea.l A0, [A0 + 0x2A] 00000C80 2848 movea.l A4, A0 00000C82 A029 syscall HLock 00000C84 204C movea.l A0, A4 00000C86 2050 movea.l A0, [A0] 00000C88 41E8 000A lea.l A0, [A0 + 0xA] 00000C8C 3003 move.w D0, D3 00000C8E E748 lsl D0.w, 3 00000C90 D0C0 add.w A0, D0 00000C92 2F08 move.l -[A7], A0 00000C94 2F08 move.l -[A7], A0 00000C96 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 00000C9A A82E syscall Pack12 00000C9C 204C movea.l A0, A4 00000C9E A02A syscall HUnlock 00000CA0 181F move.b D4, [A7]+ 00000CA2 A9A3 syscall ReleaseResource 00000CA4 4A04 tst.b D4 00000CA6 6730 beq +0x32 /* 00000CD8 */ 00000CA8 2F2B 00CA move.l -[A7], [A3 + 0xCA] 00000CAC 3003 move.w D0, D3 00000CAE 5640 addq.w D0, 3 00000CB0 3F00 move.w -[A7], D0 00000CB2 4267 clr.w -[A7] 00000CB4 4267 clr.w -[A7] 00000CB6 AA9E syscall SetEntryUsage 00000CB8 6138 bsr +0x3A /* 00000CF2 */ 00000CBA 6100 F846 bsr -0x7B8 /* 00000502 */ 00000CBE 6178 bsr +0x7A /* 00000D38 */ 00000CC0 6122 bsr +0x24 /* 00000CE4 */ 00000CC2 6014 bra +0x16 /* 00000CD8 */ label00000CC4: 00000CC4 226B 001C movea.l A1, [A3 + 0x1C] 00000CC8 2251 movea.l A1, [A1] 00000CCA 2069 0006 movea.l A0, [A1 + 0x6] 00000CCE A025 syscall GetHandleSize 00000CD0 2050 movea.l A0, [A0] 00000CD2 43EB 0076 lea.l A1, [A3 + 0x76] 00000CD6 A02E syscall BlockMove/BlockMoveData label00000CD8: 00000CD8 4CDF 1010 movem.l D4,A4, [A7]+ 00000CDC 6100 0A82 bsr +0xA84 /* 00001760 */ 00000CE0 6000 F4BA bra -0xB44 /* 0000019C */ fn00000CE4: 00000CE4 7001 moveq.l D0, 0x01 00000CE6 6100 F9EC bsr -0x612 /* 000006D4 */ 00000CEA 486E FFF2 pea.l [A6 - 0xE] 00000CEE A928 syscall InvalRect 00000CF0 4E75 rts fn00000CF2: 00000CF2 594F subq.w A7, 4 00000CF4 AA28 syscall GetCTSeed 00000CF6 206B 001C movea.l A0, [A3 + 0x1C] 00000CFA 2050 movea.l A0, [A0] 00000CFC 2068 0002 movea.l A0, [A0 + 0x2] 00000D00 2050 movea.l A0, [A0] 00000D02 2068 002A movea.l A0, [A0 + 0x2A] 00000D06 2050 movea.l A0, [A0] 00000D08 209F move.l [A0], [A7]+ fn00000D0A: 00000D0A 303C AB1D move.w D0, 0xAB1D 00000D0E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7 00000D10 2F08 move.l -[A7], A0 00000D12 303C A89F move.w D0, 0xA89F 00000D16 A146 syscall GetTrapAddress, flags=1 00000D18 B1DF cmpa.l A0, [A7]+ 00000D1A 670E beq +0x10 /* 00000D2A */ 00000D1C 2F2B 001C move.l -[A7], [A3 + 0x1C] 00000D20 203C 0004 0008 move.l D0, 0x40008 00000D26 AB1D syscall QDExtensions 00000D28 600C bra +0xE /* 00000D36 */ label00000D2A: 00000D2A 206B 001C movea.l A0, [A3 + 0x1C] 00000D2E 2050 movea.l A0, [A0] 00000D30 317C FFFF 000E move.w [A0 + 0xE], 0xFFFF label00000D36: 00000D36 4E75 rts fn00000D38: 00000D38 2F03 move.l -[A7], D3 00000D3A 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 00000D40 6600 0080 bne +0x82 /* 00000DC2 */ 00000D44 0C6B 0001 00B2 cmpi.w [A3 + 0xB2], 0x1 00000D4A 6676 bne +0x78 /* 00000DC2 */ 00000D4C 363C 001F move.w D3, 0x1F label00000D50: 00000D50 3003 move.w D0, D3 00000D52 6100 F980 bsr -0x67E /* 000006D4 */ 00000D56 486E FFF2 pea.l [A6 - 0xE] 00000D5A 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF 00000D60 A8A9 syscall InsetRect 00000D62 486E FFF2 pea.l [A6 - 0xE] 00000D66 A8A1 syscall FrameRect 00000D68 486E FFF2 pea.l [A6 - 0xE] 00000D6C 2F3C 0002 0002 move.l -[A7], 0x20002 00000D72 A8A9 syscall InsetRect 00000D74 3003 move.w D0, D3 00000D76 0440 001C subi.w D0, 0x1C 00000D7A 3F00 move.w -[A7], D0 00000D7C AA97 syscall PmForeColor 00000D7E 486E FFF2 pea.l [A6 - 0xE] 00000D82 A8A2 syscall PaintRect 00000D84 3F3C 0001 move.w -[A7], 0x1 00000D88 AA97 syscall PmForeColor 00000D8A 5243 addq.w D3, 1 00000D8C 0C43 0026 cmpi.w D3, 0x26 /* '&' */ 00000D90 6FBE ble -0x40 /* 00000D50 */ 00000D92 303C 001F move.w D0, 0x1F 00000D96 D06B 000A add.w D0, [A3 + 0xA] 00000D9A 6100 F938 bsr -0x6C6 /* 000006D4 */ 00000D9E 2F2E FFF2 move.l -[A7], [A6 - 0xE] 00000DA2 5557 subq.w [A7], 2 00000DA4 536F 0002 subq.w [A7 + 0x2], 1 00000DA8 A893 syscall MoveTo 00000DAA 2F3C 0000 0010 move.l -[A7], 0x10 00000DB0 A892 syscall Line 00000DB2 2F3C FFFF FFF0 move.l -[A7], 0xFFFFFFF0 00000DB8 A894 syscall Move 00000DBA 2F3C 0000 0010 move.l -[A7], 0x10 00000DC0 A892 syscall Line label00000DC2: 00000DC2 261F move.l D3, [A7]+ 00000DC4 4E75 rts 00000DC6 FFFF .invalid <> 00000DC8 FFFF .invalid <> 00000DCA FFFF .invalid <> 00000DCC 000D 0064 ori.b A5, 0x64 /* 'd' */ 00000DD0 0034 008B 000D ori.b [A4 + D0.w + 0xD], 0x8B 00000DD6 0097 0034 00CD ori.l [A7], 0x3400CD 00000DDC 0013 0097 ori.b [A3], 0x97 00000DE0 0034 00CD 0838 ori.b [A4 + D0 + 0x38], 0xCD // begin alternate branch 00000DE4-00000DEA fn00000DE4: 00000DE4 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 // end alternate branch 00000DE4-00000DEA fn00000DE4: // (misaligned) 00000DE6 0006 028E ori.b D6, 0x8E 00000DEA 6600 01D4 bne +0x1D6 /* 00000FC0 */ 00000DEE 0C6B 0001 00B2 cmpi.w [A3 + 0xB2], 0x1 00000DF4 6600 01CA bne +0x1CC /* 00000FC0 */ 00000DF8 487A FFE2 pea.l [PC - 0x1E /* 00000DDC, value 0x130097, cstring "" */] 00000DFC 2F3C 0003 0003 move.l -[A7], 0x30003 00000E02 2F2B 001C move.l -[A7], [A3 + 0x1C] 00000E06 AA10 syscall FillCRoundRect 00000E08 6100 008C bsr +0x8E /* 00000E96 */ 00000E0C 4E75 rts fn00000E0E: 00000E0E 48E7 1078 movem.l -[A7], D3,A1,A2,A3,A4 00000E12 594F subq.w A7, 4 00000E14 AA03 syscall NewPixMap 00000E16 201F move.l D0, [A7]+ 00000E18 6608 bne +0xA /* 00000E22 */ 00000E1A 3F3C 0001 move.w -[A7], 0x1 00000E1E 6100 0E8A bsr +0xE8C /* 00001CAA */ label00000E22: 00000E22 2053 movea.l A0, [A3] 00000E24 2140 009C move.l [A0 + 0x9C], D0 00000E28 206A 0002 movea.l A0, [A2 + 0x2] 00000E2C 2050 movea.l A0, [A0] 00000E2E 3028 0020 move.w D0, [A0 + 0x20] 00000E32 C0FC 00F0 mulu.w D0, 0xF0 00000E36 A122 syscall NewHandle, flags=1 00000E38 4A40 tst.w D0 00000E3A 6706 beq +0x8 /* 00000E42 */ 00000E3C 4267 clr.w -[A7] 00000E3E 6100 0E6A bsr +0xE6C /* 00001CAA */ label00000E42: 00000E42 A029 syscall HLock 00000E44 2008 move.l D0, A0 00000E46 2053 movea.l A0, [A3] 00000E48 2268 009C movea.l A1, [A0 + 0x9C] 00000E4C 2251 movea.l A1, [A1] 00000E4E 2140 0018 move.l [A0 + 0x18], D0 00000E52 2040 movea.l A0, D0 00000E54 2050 movea.l A0, [A0] 00000E56 2288 move.l [A1], A0 00000E58 206A 0002 movea.l A0, [A2 + 0x2] 00000E5C 2050 movea.l A0, [A0] 00000E5E 3028 0020 move.w D0, [A0 + 0x20] 00000E62 C0FC 0006 mulu.w D0, 0x6 00000E66 0040 8000 ori.w D0, 0x8000 00000E6A 3340 0004 move.w [A1 + 0x4], D0 00000E6E 41FA FF5C lea.l A0, [PC - 0xA4 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000E72 2350 0006 move.l [A1 + 0x6], [A0] 00000E76 2368 0004 000A move.l [A1 + 0xA], [A0 + 0x4] 00000E7C 206A 0002 movea.l A0, [A2 + 0x2] 00000E80 2050 movea.l A0, [A0] 00000E82 2F28 002A move.l -[A7], [A0 + 0x2A] 00000E86 2069 002A movea.l A0, [A1 + 0x2A] 00000E8A A023 syscall DisposHandle/DisposeHandle 00000E8C 235F 002A move.l [A1 + 0x2A], [A7]+ 00000E90 4CDF 1E08 movem.l D3,A1,A2,A3,A4, [A7]+ 00000E94 4E75 rts fn00000E96: 00000E96 48E7 1E00 movem.l -[A7], D3,D4,D5,D6 00000E9A 206B 001C movea.l A0, [A3 + 0x1C] 00000E9E 2250 movea.l A1, [A0] 00000EA0 2069 0006 movea.l A0, [A1 + 0x6] 00000EA4 A029 syscall HLock 00000EA6 2F10 move.l -[A7], [A0] 00000EA8 337C FFFF 000E move.w [A1 + 0xE], 0xFFFF 00000EAE 2069 0002 movea.l A0, [A1 + 0x2] 00000EB2 2050 movea.l A0, [A0] 00000EB4 209F move.l [A0], [A7]+ 00000EB6 2269 0002 movea.l A1, [A1 + 0x2] 00000EBA 2251 movea.l A1, [A1] 00000EBC 2F09 move.l -[A7], A1 00000EBE 206B 009C movea.l A0, [A3 + 0x9C] 00000EC2 2F10 move.l -[A7], [A0] 00000EC4 4869 0006 pea.l [A1 + 0x6] 00000EC8 487A FF02 pea.l [PC - 0xFE /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000ECC 4267 clr.w -[A7] 00000ECE 42A7 clr.l -[A7] 00000ED0 226A 0002 movea.l A1, [A2 + 0x2] 00000ED4 2251 movea.l A1, [A1] 00000ED6 206B 0018 movea.l A0, [A3 + 0x18] 00000EDA A02A syscall HUnlock 00000EDC 3029 0020 move.w D0, [A1 + 0x20] 00000EE0 C0FC 00F0 mulu.w D0, 0xF0 00000EE4 A024 syscall SetHandleSize 00000EE6 A029 syscall HLock 00000EE8 226B 009C movea.l A1, [A3 + 0x9C] 00000EEC 2251 movea.l A1, [A1] 00000EEE 2050 movea.l A0, [A0] 00000EF0 2288 move.l [A1], A0 00000EF2 206A 0002 movea.l A0, [A2 + 0x2] 00000EF6 2050 movea.l A0, [A0] 00000EF8 3028 0020 move.w D0, [A0 + 0x20] 00000EFC 3340 0020 move.w [A1 + 0x20], D0 00000F00 3368 0024 0024 move.w [A1 + 0x24], [A0 + 0x24] 00000F06 3368 0022 0022 move.w [A1 + 0x22], [A0 + 0x22] 00000F0C 3368 001E 001E move.w [A1 + 0x1E], [A0 + 0x1E] 00000F12 C0FC 0006 mulu.w D0, 0x6 00000F16 0040 8000 ori.w D0, 0x8000 00000F1A 3340 0004 move.w [A1 + 0x4], D0 00000F1E 2368 002A 002A move.l [A1 + 0x2A], [A0 + 0x2A] 00000F24 A8EC syscall CopyBits 00000F26 206B 001C movea.l A0, [A3 + 0x1C] 00000F2A 2050 movea.l A0, [A0] 00000F2C 2068 0006 movea.l A0, [A0 + 0x6] 00000F30 A02A syscall HUnlock 00000F32 276A 0002 00A0 move.l [A3 + 0xA0], [A2 + 0x2] 00000F38 256B 009C 0002 move.l [A2 + 0x2], [A3 + 0x9C] 00000F3E 2055 movea.l A0, [A5] 00000F40 4868 FFF8 pea.l [A0 - 0x8] 00000F44 A89D syscall PenPat 00000F46 41FA FE84 lea.l A0, [PC - 0x17C /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000F4A 3628 0002 move.w D3, [A0 + 0x2] 00000F4E 3810 move.w D4, [A0] 00000F50 3A28 0004 move.w D5, [A0 + 0x4] 00000F54 9A44 sub.w D5, D4 00000F56 5345 subq.w D5, 1 00000F58 5343 subq.w D3, 1 00000F5A 3C3C 0006 move.w D6, 0x6 label00000F5E: 00000F5E 5A43 addq.w D3, 5 00000F60 3F03 move.w -[A7], D3 00000F62 3F04 move.w -[A7], D4 00000F64 A893 syscall MoveTo 00000F66 4267 clr.w -[A7] 00000F68 3F05 move.w -[A7], D5 00000F6A A892 syscall Line 00000F6C 51CE FFF0 dbf D6, -0x12 /* 00000F5E */ 00000F70 41FA FE5A lea.l A0, [PC - 0x1A6 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000F74 3628 0002 move.w D3, [A0 + 0x2] 00000F78 3810 move.w D4, [A0] 00000F7A 3A28 0006 move.w D5, [A0 + 0x6] 00000F7E 9A43 sub.w D5, D3 00000F80 5345 subq.w D5, 1 00000F82 5344 subq.w D4, 1 00000F84 3C3C 0006 move.w D6, 0x6 label00000F88: 00000F88 5A44 addq.w D4, 5 00000F8A 3F03 move.w -[A7], D3 00000F8C 3F04 move.w -[A7], D4 00000F8E A893 syscall MoveTo 00000F90 3F05 move.w -[A7], D5 00000F92 4267 clr.w -[A7] 00000F94 A892 syscall Line 00000F96 51CE FFF0 dbf D6, -0x12 /* 00000F88 */ 00000F9A A89E syscall PenNormal 00000F9C 256B 00A0 0002 move.l [A2 + 0x2], [A3 + 0xA0] 00000FA2 226B 009C movea.l A1, [A3 + 0x9C] 00000FA6 2F11 move.l -[A7], [A1] 00000FA8 486A 0002 pea.l [A2 + 0x2] 00000FAC 487A FE1E pea.l [PC - 0x1E2 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000FB0 487A FE1A pea.l [PC - 0x1E6 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000FB4 4267 clr.w -[A7] 00000FB6 42A7 clr.l -[A7] 00000FB8 A8EC syscall CopyBits 00000FBA 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+ 00000FBE 4E75 rts fn00000FC0: 00000FC0 4E56 FFF8 link A6, -0x0008 00000FC4 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3 00000FC8 45FA FE02 lea.l A2, [PC - 0x1FE /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00000FCC 2612 move.l D3, [A2] 00000FCE 2803 move.l D4, D3 00000FD0 7A00 moveq.l D5, 0x00 label00000FD2: 00000FD2 1C33 5000 move.b D6, [A3 + D5.w] 00000FD6 7E07 moveq.l D7, 0x07 label00000FD8: 00000FD8 4A06 tst.b D6 00000FDA 6A12 bpl +0x14 /* 00000FEE */ 00000FDC 486E FFF8 pea.l [A6 - 0x8] 00000FE0 2057 movea.l A0, [A7] 00000FE2 20C3 move.l [A0]+, D3 00000FE4 2083 move.l [A0], D3 00000FE6 0690 0004 0004 addi.l [A0], 0x40004 00000FEC A8A2 syscall PaintRect label00000FEE: 00000FEE DC46 add.w D6, D6 00000FF0 5A43 addq.w D3, 5 00000FF2 51CF FFE4 dbf D7, -0x1E /* 00000FD8 */ 00000FF6 0684 0005 0000 addi.l D4, 0x50000 00000FFC 2604 move.l D3, D4 00000FFE 5245 addq.w D5, 1 00001000 0C45 0008 cmpi.w D5, 0x8 00001004 6DCC blt -0x32 /* 00000FD2 */ 00001006 487A FDD4 pea.l [PC - 0x22C /* 00000DDC, value 0x130097, cstring "" */] 0000100A 2F3C 0003 0003 move.l -[A7], 0x30003 00001010 2F0B move.l -[A7], A3 00001012 A8B4 syscall FillRoundRect 00001014 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+ 00001018 4E5E unlink A6 0000101A 4E75 rts label0000101C: 0000101C 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4 00001020 6100 073E bsr +0x740 /* 00001760 */ 00001024 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 0000102A 6600 0240 bne +0x242 /* 0000126C */ 0000102E 0C6B 0001 00B2 cmpi.w [A3 + 0xB2], 0x1 00001034 6600 0236 bne +0x238 /* 0000126C */ 00001038 554F subq.w A7, 2 0000103A 2F2C 000A move.l -[A7], [A4 + 0xA] 0000103E 4857 pea.l [A7] 00001040 A871 syscall GlobalToLocal 00001042 2817 move.l D4, [A7] 00001044 487A FD86 pea.l [PC - 0x27A /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00001048 A8AD syscall PtInRect 0000104A 4A1F tst.b [A7]+ 0000104C 6600 02DA bne +0x2DC /* 00001328 */ 00001050 554F subq.w A7, 2 00001052 2F04 move.l -[A7], D4 00001054 487A FD7E pea.l [PC - 0x282 /* 00000DD4, value 0xD0097, cstring "" */] 00001058 A8AD syscall PtInRect 0000105A 4A1F tst.b [A7]+ 0000105C 6700 02C2 beq +0x2C4 /* 00001320 */ 00001060 554F subq.w A7, 2 00001062 2F04 move.l -[A7], D4 00001064 487A FD76 pea.l [PC - 0x28A /* 00000DDC, value 0x130097, cstring "" */] 00001068 A8AD syscall PtInRect 0000106A 4A1F tst.b [A7]+ 0000106C 6700 03D8 beq +0x3DA /* 00001446 */ 00001070 226B 001C movea.l A1, [A3 + 0x1C] 00001074 2251 movea.l A1, [A1] 00001076 2069 0006 movea.l A0, [A1 + 0x6] 0000107A A025 syscall GetHandleSize 0000107C 2050 movea.l A0, [A0] 0000107E 43EB 0076 lea.l A1, [A3 + 0x76] 00001082 A02E syscall BlockMove/BlockMoveData 00001084 282C 0006 move.l D4, [A4 + 0x6] 00001088 327C 02F0 movea.w A1, 0x2F0 0000108C D891 add.l D4, [A1] label0000108E: 0000108E 6100 0CE4 bsr +0xCE6 /* 00001D74 */ 00001092 B084 cmp.l D0, D4 00001094 6E00 00D2 bgt +0xD4 /* 00001168 */ 00001098 554F subq.w A7, 2 0000109A 3F3C 0002 move.w -[A7], 0x2 0000109E 49FA 00CE lea.l A4, [PC + 0xCE /* 0000116E, value 0x0, cstring "" */] 000010A2 2F0C move.l -[A7], A4 000010A4 A970 syscall GetNextEvent 000010A6 301F move.w D0, [A7]+ 000010A8 67E4 beq -0x1A /* 0000108E */ 000010AA 554F subq.w A7, 2 000010AC 2F2C 000A move.l -[A7], [A4 + 0xA] 000010B0 4857 pea.l [A7] 000010B2 A871 syscall GlobalToLocal 000010B4 2817 move.l D4, [A7] 000010B6 487A FD24 pea.l [PC - 0x2DC /* 00000DDC, value 0x130097, cstring "" */] 000010BA A8AD syscall PtInRect 000010BC 4A1F tst.b [A7]+ 000010BE 6700 0260 beq +0x262 /* 00001320 */ 000010C2 0C6B FFFF 0008 cmpi.w [A3 + 0x8], 0xFFFF 000010C8 660A bne +0xC /* 000010D4 */ 000010CA 3F3C 000C move.w -[A7], 0xC 000010CE A9C8 syscall SysBeep 000010D0 6000 024E bra +0x250 /* 00001320 */ label000010D4: 000010D4 206B 0070 movea.l A0, [A3 + 0x70] 000010D8 2050 movea.l A0, [A0] 000010DA 2F08 move.l -[A7], A0 000010DC 302B 0008 move.w D0, [A3 + 0x8] 000010E0 C0FC 0004 mulu.w D0, 0x4 000010E4 5440 addq.w D0, 2 000010E6 D0C0 add.w A0, D0 000010E8 2010 move.l D0, [A0] 000010EA 205F movea.l A0, [A7]+ 000010EC D0C0 add.w A0, D0 000010EE 2028 0006 move.l D0, [A0 + 0x6] 000010F2 2F08 move.l -[A7], A0 000010F4 D0C0 add.w A0, D0 000010F6 2F08 move.l -[A7], A0 000010F8 206B 001C movea.l A0, [A3 + 0x1C] 000010FC 2050 movea.l A0, [A0] 000010FE 2068 0006 movea.l A0, [A0 + 0x6] 00001102 A025 syscall GetHandleSize 00001104 2050 movea.l A0, [A0] 00001106 225F movea.l A1, [A7]+ 00001108 A02E syscall BlockMove/BlockMoveData 0000110A 2057 movea.l A0, [A7] 0000110C 2028 0002 move.l D0, [A0 + 0x2] 00001110 D0C0 add.w A0, D0 00001112 2028 002A move.l D0, [A0 + 0x2A] 00001116 205F movea.l A0, [A7]+ 00001118 D0C0 add.w A0, D0 0000111A 2F08 move.l -[A7], A0 0000111C 206B 001C movea.l A0, [A3 + 0x1C] 00001120 2050 movea.l A0, [A0] 00001122 2068 0002 movea.l A0, [A0 + 0x2] 00001126 2050 movea.l A0, [A0] 00001128 2068 002A movea.l A0, [A0 + 0x2A] 0000112C A025 syscall GetHandleSize 0000112E 2050 movea.l A0, [A0] 00001130 225F movea.l A1, [A7]+ 00001132 A02E syscall BlockMove/BlockMoveData 00001134 2F2B 0070 move.l -[A7], [A3 + 0x70] 00001138 2F17 move.l -[A7], [A7] 0000113A 6100 0C48 bsr +0xC4A /* 00001D84 */ 0000113E 554F subq.w A7, 2 00001140 A9AF syscall ResError 00001142 301F move.w D0, [A7]+ 00001144 670C beq +0xE /* 00001152 */ 00001146 3F3C 0002 move.w -[A7], 0x2 0000114A 6100 0B5E bsr +0xB60 /* 00001CAA */ 0000114E 584F addq.w A7, 4 00001150 6012 bra +0x14 /* 00001164 */ label00001152: 00001152 A9B0 syscall WriteResource 00001154 554F subq.w A7, 2 00001156 A9AF syscall ResError 00001158 301F move.w D0, [A7]+ 0000115A 6708 beq +0xA /* 00001164 */ 0000115C 3F3C 0002 move.w -[A7], 0x2 00001160 6100 0B48 bsr +0xB4A /* 00001CAA */ label00001164: 00001164 6000 01BA bra +0x1BC /* 00001320 */ label00001168: 00001168 6114 bsr +0x16 /* 0000117E */ 0000116A 6000 01B4 bra +0x1B6 /* 00001320 */ 0000116E 0000 0000 ori.b D0, 0x0 00001172 0000 0000 ori.b D0, 0x0 00001176 0000 0000 ori.b D0, 0x0 0000117A 0000 0000 ori.b D0, 0x0 fn0000117E: 0000117E 2F2B 0068 move.l -[A7], [A3 + 0x68] 00001182 A9A2 syscall LoadResource 00001184 554F subq.w A7, 2 00001186 A9AF syscall ResError 00001188 301F move.w D0, [A7]+ 0000118A 6708 beq +0xA /* 00001194 */ 0000118C 3F3C 0001 move.w -[A7], 0x1 00001190 6100 0B18 bsr +0xB1A /* 00001CAA */ label00001194: 00001194 206B 001C movea.l A0, [A3 + 0x1C] 00001198 2050 movea.l A0, [A0] 0000119A 2068 0006 movea.l A0, [A0 + 0x6] 0000119E 2F08 move.l -[A7], A0 000011A0 A025 syscall GetHandleSize 000011A2 205F movea.l A0, [A7]+ 000011A4 2050 movea.l A0, [A0] 000011A6 226B 0068 movea.l A1, [A3 + 0x68] 000011AA 2251 movea.l A1, [A1] 000011AC 2229 0006 move.l D1, [A1 + 0x6] 000011B0 D3C1 add.l A1, D1 000011B2 A02E syscall BlockMove/BlockMoveData 000011B4 206B 001C movea.l A0, [A3 + 0x1C] 000011B8 2050 movea.l A0, [A0] 000011BA 2068 0002 movea.l A0, [A0 + 0x2] 000011BE 2050 movea.l A0, [A0] 000011C0 2068 002A movea.l A0, [A0 + 0x2A] 000011C4 2F08 move.l -[A7], A0 000011C6 A025 syscall GetHandleSize 000011C8 205F movea.l A0, [A7]+ 000011CA 2050 movea.l A0, [A0] 000011CC 226B 0068 movea.l A1, [A3 + 0x68] 000011D0 2251 movea.l A1, [A1] 000011D2 2F09 move.l -[A7], A1 000011D4 2229 0002 move.l D1, [A1 + 0x2] 000011D8 D3C1 add.l A1, D1 000011DA 2229 002A move.l D1, [A1 + 0x2A] 000011DE 225F movea.l A1, [A7]+ 000011E0 D3C1 add.l A1, D1 000011E2 A02E syscall BlockMove/BlockMoveData 000011E4 2F2B 0068 move.l -[A7], [A3 + 0x68] 000011E8 2F17 move.l -[A7], [A7] 000011EA 6100 0B98 bsr +0xB9A /* 00001D84 */ 000011EE 554F subq.w A7, 2 000011F0 A9AF syscall ResError 000011F2 301F move.w D0, [A7]+ 000011F4 670C beq +0xE /* 00001202 */ 000011F6 3F3C 0002 move.w -[A7], 0x2 000011FA 6100 0AAE bsr +0xAB0 /* 00001CAA */ 000011FE 584F addq.w A7, 4 00001200 6012 bra +0x14 /* 00001214 */ label00001202: 00001202 A9B0 syscall WriteResource 00001204 554F subq.w A7, 2 00001206 A9AF syscall ResError 00001208 301F move.w D0, [A7]+ 0000120A 6708 beq +0xA /* 00001214 */ 0000120C 3F3C 0002 move.w -[A7], 0x2 00001210 6100 0A98 bsr +0xA9A /* 00001CAA */ label00001214: 00001214 486B 006C pea.l [A3 + 0x6C] 00001218 A874 syscall GetPort 0000121A 2F38 09DE move.l -[A7], [0x000009DE /* WMgrPort */] 0000121E A873 syscall SetPort 00001220 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */] 00001224 A879 syscall SetClip 00001226 42A7 clr.l -[A7] 00001228 A90B syscall ClipAbove 0000122A 42A7 clr.l -[A7] 0000122C 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */] 00001230 A90C syscall PaintOne 00001232 2F2B 001C move.l -[A7], [A3 + 0x1C] 00001236 2F2B 0020 move.l -[A7], [A3 + 0x20] 0000123A AA09 syscall CopyPixPat 0000123C 2F0C move.l -[A7], A4 0000123E 2F38 0118 move.l -[A7], [0x00000118 /* TheZone */] 00001242 21F8 02A6 0118 move.l [0x00000118 /* TheZone */], [0x000002A6 /* SysZone */] 00001248 2F2B 001C move.l -[A7], [A3 + 0x1C] 0000124C 594F subq.w A7, 4 0000124E AA07 syscall NewPixPat 00001250 2857 movea.l A4, [A7] 00001252 AA09 syscall CopyPixPat 00001254 21DF 0118 move.l [0x00000118 /* TheZone */], [A7]+ 00001258 205F movea.l A0, [A7]+ 0000125A 2F0C move.l -[A7], A4 0000125C 2848 movea.l A4, A0 0000125E AA47 syscall SetDeskCPat 00001260 6100 F488 bsr -0xB76 /* 000006EA */ 00001264 486B 006C pea.l [A3 + 0x6C] 00001268 A873 syscall SetPort 0000126A 4E75 rts label0000126C: 0000126C 554F subq.w A7, 2 0000126E 2F2C 000A move.l -[A7], [A4 + 0xA] 00001272 4857 pea.l [A7] 00001274 A871 syscall GlobalToLocal 00001276 2817 move.l D4, [A7] 00001278 487A FB52 pea.l [PC - 0x4AE /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 0000127C A8AD syscall PtInRect 0000127E 4A1F tst.b [A7]+ 00001280 6600 0378 bne +0x37A /* 000015FA */ 00001284 554F subq.w A7, 2 00001286 2F04 move.l -[A7], D4 00001288 487A FB4A pea.l [PC - 0x4B6 /* 00000DD4, value 0xD0097, cstring "" */] 0000128C A8AD syscall PtInRect 0000128E 4A1F tst.b [A7]+ 00001290 6700 008E beq +0x90 /* 00001320 */ 00001294 554F subq.w A7, 2 00001296 2F04 move.l -[A7], D4 00001298 487A FB42 pea.l [PC - 0x4BE /* 00000DDC, value 0x130097, cstring "" */] 0000129C A8AD syscall PtInRect 0000129E 4A1F tst.b [A7]+ 000012A0 6700 02EE beq +0x2F0 /* 00001590 */ 000012A4 594F subq.w A7, 4 000012A6 3F3C 0010 move.w -[A7], 0x10 000012AA A9B8 syscall GetPattern 000012AC 4A97 tst.l [A7] 000012AE 660A bne +0xC /* 000012BA */ 000012B0 584F addq.w A7, 4 000012B2 3F3C 0001 move.w -[A7], 0x1 000012B6 6100 09F2 bsr +0x9F4 /* 00001CAA */ label000012BA: 000012BA 2257 movea.l A1, [A7] 000012BC 2251 movea.l A1, [A1] 000012BE 204B movea.l A0, A3 000012C0 22D0 move.l [A1]+, [A0] 000012C2 21D8 0A3C move.l [0x00000A3C /* DeskPattern */], [A0]+ 000012C6 22D0 move.l [A1]+, [A0] 000012C8 21D8 0A40 move.l [0x00000A40], [A0]+ 000012CC 2F17 move.l -[A7], [A7] 000012CE 6100 0AB4 bsr +0xAB6 /* 00001D84 */ 000012D2 554F subq.w A7, 2 000012D4 A9AF syscall ResError 000012D6 301F move.w D0, [A7]+ 000012D8 670C beq +0xE /* 000012E6 */ 000012DA 3F3C 0002 move.w -[A7], 0x2 000012DE 6100 09CA bsr +0x9CC /* 00001CAA */ 000012E2 584F addq.w A7, 4 000012E4 6012 bra +0x14 /* 000012F8 */ label000012E6: 000012E6 A9B0 syscall WriteResource 000012E8 554F subq.w A7, 2 000012EA A9AF syscall ResError 000012EC 301F move.w D0, [A7]+ 000012EE 6708 beq +0xA /* 000012F8 */ 000012F0 3F3C 0002 move.w -[A7], 0x2 000012F4 6100 09B4 bsr +0x9B6 /* 00001CAA */ label000012F8: 000012F8 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 000012FE 6608 bne +0xA /* 00001308 */ 00001300 42A7 clr.l -[A7] 00001302 AA47 syscall SetDeskCPat 00001304 6100 F3E4 bsr -0xC1A /* 000006EA */ label00001308: 00001308 2F38 09DE move.l -[A7], [0x000009DE /* WMgrPort */] 0000130C A873 syscall SetPort 0000130E 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */] 00001312 A879 syscall SetClip 00001314 42A7 clr.l -[A7] 00001316 A90B syscall ClipAbove 00001318 42A7 clr.l -[A7] 0000131A 2F38 09EE move.l -[A7], [0x000009EE /* GrayRgn */] 0000131E A90C syscall PaintOne label00001320: 00001320 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+ 00001324 6000 EE76 bra -0x1188 /* 0000019C */ label00001328: 00001328 377C FFFF 0096 move.w [A3 + 0x96], 0xFFFF 0000132E 612C bsr +0x2E /* 0000135C */ label00001330: 00001330 5D4F subq.w A7, 6 00001332 2F0F move.l -[A7], A7 00001334 A972 syscall GetMouse 00001336 2817 move.l D4, [A7] 00001338 487A FA92 pea.l [PC - 0x56E /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 0000133C A8AD syscall PtInRect 0000133E 4A1F tst.b [A7]+ 00001340 6710 beq +0x12 /* 00001352 */ 00001342 2F04 move.l -[A7], D4 00001344 6100 02E8 bsr +0x2EA /* 0000162E */ 00001348 281F move.l D4, [A7]+ 0000134A BAAB 0098 cmp.l D5, [A3 + 0x98] 0000134E 6702 beq +0x4 /* 00001352 */ 00001350 610A bsr +0xC /* 0000135C */ label00001352: 00001352 554F subq.w A7, 2 00001354 A973 syscall StillDown 00001356 4A1F tst.b [A7]+ 00001358 66D6 bne -0x28 /* 00001330 */ 0000135A 60C4 bra -0x3A /* 00001320 */ fn0000135C: 0000135C 48E7 7948 movem.l -[A7], D1,D2,D3,D4,D7,A1,A4 00001360 226B 001C movea.l A1, [A3 + 0x1C] 00001364 2251 movea.l A1, [A1] 00001366 2069 0006 movea.l A0, [A1 + 0x6] 0000136A A029 syscall HLock 0000136C A025 syscall GetHandleSize 0000136E 2600 move.l D3, D0 00001370 2F10 move.l -[A7], [A0] 00001372 2069 0002 movea.l A0, [A1 + 0x2] 00001376 2050 movea.l A0, [A0] 00001378 2097 move.l [A0], [A7] 0000137A 6100 02B2 bsr +0x2B4 /* 0000162E */ 0000137E 2057 movea.l A0, [A7] 00001380 2745 0098 move.l [A3 + 0x98], D5 00001384 376B 000A 00C2 move.w [A3 + 0xC2], [A3 + 0xA] 0000138A 0C6B 0000 0096 cmpi.w [A3 + 0x96], 0x0 00001390 6702 beq +0x4 /* 00001394 */ 00001392 6158 bsr +0x5A /* 000013EC */ label00001394: 00001394 2F05 move.l -[A7], D5 00001396 4845 swap.w D5 00001398 CAFC 0004 mulu.w D5, 0x4 0000139C 3005 move.w D0, D5 0000139E 2A1F move.l D5, [A7]+ 000013A0 205F movea.l A0, [A7]+ 000013A2 D0C0 add.w A0, D0 000013A4 2010 move.l D0, [A0] 000013A6 7200 moveq.l D1, 0x00 000013A8 322B 00C2 move.w D1, [A3 + 0xC2] 000013AC 74F0 moveq.l D2, 0xFFFFFFF0 000013AE 7607 moveq.l D3, 0x07 000013B0 9645 sub.w D3, D5 000013B2 6708 beq +0xA /* 000013BC */ label000013B4: 000013B4 E999 rol D1, 4 000013B6 E99A rol D2, 4 000013B8 5343 subq.w D3, 1 000013BA 6EF8 bgt -0x6 /* 000013B4 */ label000013BC: 000013BC C082 and.l D0, D2 000013BE D081 add.l D0, D1 000013C0 2080 move.l [A0], D0 000013C2 6100 F946 bsr -0x6B8 /* 00000D0A */ 000013C6 487A FA14 pea.l [PC - 0x5EC /* 00000DDC, value 0x130097, cstring "" */] 000013CA 2F3C 0003 0003 move.l -[A7], 0x30003 000013D0 2F2B 001C move.l -[A7], [A3 + 0x1C] 000013D4 AA10 syscall FillCRoundRect 000013D6 226B 001C movea.l A1, [A3 + 0x1C] 000013DA 2251 movea.l A1, [A1] 000013DC 2069 0006 movea.l A0, [A1 + 0x6] 000013E0 A02A syscall HUnlock 000013E2 6100 FAB2 bsr -0x54C /* 00000E96 */ 000013E6 4CDF 129E movem.l D1,D2,D3,D4,D7,A1,A4, [A7]+ 000013EA 4E75 rts fn000013EC: 000013EC 48E7 F880 movem.l -[A7], D0,D1,D2,D3,D4,A0 000013F0 2F05 move.l -[A7], D5 000013F2 0C6B FFFF 0096 cmpi.w [A3 + 0x96], 0xFFFF 000013F8 6704 beq +0x6 /* 000013FE */ label000013FA: 000013FA 41EB 0076 lea.l A0, [A3 + 0x76] label000013FE: 000013FE 2F05 move.l -[A7], D5 00001400 4845 swap.w D5 00001402 CAFC 0004 mulu.w D5, 0x4 00001406 3005 move.w D0, D5 00001408 2A1F move.l D5, [A7]+ 0000140A D0C0 add.w A0, D0 0000140C 2010 move.l D0, [A0] 0000140E 740F moveq.l D2, 0x0F 00001410 7607 moveq.l D3, 0x07 00001412 9645 sub.w D3, D5 00001414 6706 beq +0x8 /* 0000141C */ label00001416: 00001416 E898 ror D0, 4 00001418 5343 subq.w D3, 1 0000141A 6EFA bgt -0x4 /* 00001416 */ label0000141C: 0000141C C082 and.l D0, D2 0000141E 0C6B FFFF 0096 cmpi.w [A3 + 0x96], 0xFFFF 00001424 6614 bne +0x16 /* 0000143A */ 00001426 426B 0096 clr.w [A3 + 0x96] 0000142A B06B 000A cmp.w D0, [A3 + 0xA] 0000142E 660E bne +0x10 /* 0000143E */ 00001430 377C 0001 0096 move.w [A3 + 0x96], 0x1 00001436 2A17 move.l D5, [A7] 00001438 60C0 bra -0x3E /* 000013FA */ label0000143A: 0000143A 3740 00C2 move.w [A3 + 0xC2], D0 label0000143E: 0000143E 2A1F move.l D5, [A7]+ 00001440 4CDF 011F movem.l D0,D1,D2,D3,D4,A0, [A7]+ 00001444 4E75 rts label00001446: 00001446 594F subq.w A7, 4 00001448 2F3C 7070 7423 move.l -[A7], 0x70707423 /* 'ppt#' */ 0000144E 4267 clr.w -[A7] 00001450 A9A0 syscall GetResource 00001452 201F move.l D0, [A7]+ 00001454 6608 bne +0xA /* 0000145E */ 00001456 3F3C 0001 move.w -[A7], 0x1 0000145A 6100 084E bsr +0x850 /* 00001CAA */ label0000145E: 0000145E 2040 movea.l A0, D0 00001460 2748 0070 move.l [A3 + 0x70], A0 00001464 2050 movea.l A0, [A0] 00001466 3210 move.w D1, [A0] 00001468 43FA F972 lea.l A1, [PC - 0x68E /* 00000DDC, value 0x130097, cstring "" */] 0000146C 3029 0002 move.w D0, [A1 + 0x2] 00001470 D069 0006 add.w D0, [A1 + 0x6] 00001474 E240 asr D0.w, 1 00001476 224B movea.l A1, A3 00001478 B840 cmp.w D4, D0 0000147A 6D00 00B6 blt +0xB8 /* 00001532 */ 0000147E 48E7 2020 movem.l -[A7], D2,A2 00001482 5269 0008 addq.w [A1 + 0x8], 1 00001486 B269 0008 cmp.w D1, [A1 + 0x8] 0000148A 6E04 bgt +0x6 /* 00001490 */ 0000148C 4269 0008 clr.w [A1 + 0x8] label00001490: 00001490 3029 0008 move.w D0, [A1 + 0x8] 00001494 2400 move.l D2, D0 00001496 2448 movea.l A2, A0 label00001498: 00001498 C0FC 0004 mulu.w D0, 0x4 0000149C 5440 addq.w D0, 2 0000149E 204A movea.l A0, A2 000014A0 D0C0 add.w A0, D0 000014A2 2010 move.l D0, [A0] 000014A4 204A movea.l A0, A2 000014A6 D1C0 add.l A0, D0 000014A8 6100 F09E bsr -0xF60 /* 00000548 */ 000014AC 0C69 0001 00B4 cmpi.w [A1 + 0xB4], 0x1 000014B2 671A beq +0x1C /* 000014CE */ 000014B4 3002 move.w D0, D2 000014B6 5240 addq.w D0, 1 000014B8 B240 cmp.w D1, D0 000014BA 6E02 bgt +0x4 /* 000014BE */ 000014BC 4240 clr.w D0 label000014BE: 000014BE 3400 move.w D2, D0 000014C0 B069 0008 cmp.w D0, [A1 + 0x8] 000014C4 66D2 bne -0x2C /* 00001498 */ 000014C6 4CDF 0404 movem.l D2,A2, [A7]+ 000014CA 6000 FE54 bra -0x1AA /* 00001320 */ label000014CE: 000014CE 3342 0008 move.w [A1 + 0x8], D2 000014D2 224A movea.l A1, A2 000014D4 4CDF 0404 movem.l D2,A2, [A7]+ label000014D8: 000014D8 2028 0006 move.l D0, [A0 + 0x6] 000014DC 2F08 move.l -[A7], A0 000014DE D0C0 add.w A0, D0 000014E0 2F08 move.l -[A7], A0 000014E2 206B 001C movea.l A0, [A3 + 0x1C] 000014E6 2050 movea.l A0, [A0] 000014E8 2068 0006 movea.l A0, [A0 + 0x6] 000014EC A025 syscall GetHandleSize 000014EE 2250 movea.l A1, [A0] 000014F0 205F movea.l A0, [A7]+ 000014F2 A02E syscall BlockMove/BlockMoveData 000014F4 2057 movea.l A0, [A7] 000014F6 2028 0002 move.l D0, [A0 + 0x2] 000014FA D0C0 add.w A0, D0 000014FC 2028 002A move.l D0, [A0 + 0x2A] 00001500 205F movea.l A0, [A7]+ 00001502 D0C0 add.w A0, D0 00001504 2F08 move.l -[A7], A0 00001506 206B 001C movea.l A0, [A3 + 0x1C] 0000150A 2050 movea.l A0, [A0] 0000150C 2068 0002 movea.l A0, [A0 + 0x2] 00001510 2050 movea.l A0, [A0] 00001512 2068 002A movea.l A0, [A0 + 0x2A] 00001516 A025 syscall GetHandleSize 00001518 2250 movea.l A1, [A0] 0000151A 205F movea.l A0, [A7]+ 0000151C A02E syscall BlockMove/BlockMoveData 0000151E 6100 F7D2 bsr -0x82C /* 00000CF2 */ 00001522 6100 EFDE bsr -0x1020 /* 00000502 */ 00001526 6100 F810 bsr -0x7EE /* 00000D38 */ 0000152A 6100 F7B8 bsr -0x846 /* 00000CE4 */ 0000152E 6000 FDF0 bra -0x20E /* 00001320 */ label00001532: 00001532 48E7 2020 movem.l -[A7], D2,A2 00001536 5369 0008 subq.w [A1 + 0x8], 1 0000153A 6A08 bpl +0xA /* 00001544 */ 0000153C 2001 move.l D0, D1 0000153E 5340 subq.w D0, 1 00001540 3340 0008 move.w [A1 + 0x8], D0 label00001544: 00001544 3029 0008 move.w D0, [A1 + 0x8] 00001548 3400 move.w D2, D0 0000154A 2448 movea.l A2, A0 label0000154C: 0000154C C0FC 0004 mulu.w D0, 0x4 00001550 5440 addq.w D0, 2 00001552 204A movea.l A0, A2 00001554 D0C0 add.w A0, D0 00001556 2010 move.l D0, [A0] 00001558 204A movea.l A0, A2 0000155A D1C0 add.l A0, D0 0000155C 6100 EFEA bsr -0x1014 /* 00000548 */ 00001560 0C69 0001 00B4 cmpi.w [A1 + 0xB4], 0x1 00001566 671A beq +0x1C /* 00001582 */ 00001568 3002 move.w D0, D2 0000156A 5340 subq.w D0, 1 0000156C 6A04 bpl +0x6 /* 00001572 */ 0000156E 2001 move.l D0, D1 00001570 5340 subq.w D0, 1 label00001572: 00001572 3400 move.w D2, D0 00001574 B069 0008 cmp.w D0, [A1 + 0x8] 00001578 66D2 bne -0x2C /* 0000154C */ 0000157A 4CDF 0404 movem.l D2,A2, [A7]+ 0000157E 6000 FDA0 bra -0x25E /* 00001320 */ label00001582: 00001582 3342 0008 move.w [A1 + 0x8], D2 00001586 224A movea.l A1, A2 00001588 4CDF 0404 movem.l D2,A2, [A7]+ 0000158C 6000 FF4A bra -0xB4 /* 000014D8 */ label00001590: 00001590 2448 movea.l A2, A0 00001592 594F subq.w A7, 4 00001594 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */ 0000159A 4267 clr.w -[A7] 0000159C A9A0 syscall GetResource 0000159E 4A97 tst.l [A7] 000015A0 660A bne +0xC /* 000015AC */ 000015A2 584F addq.w A7, 4 000015A4 3F3C 0001 move.w -[A7], 0x1 000015A8 6100 0700 bsr +0x702 /* 00001CAA */ label000015AC: 000015AC 2257 movea.l A1, [A7] 000015AE 2251 movea.l A1, [A1] 000015B0 3211 move.w D1, [A1] 000015B2 41FA F828 lea.l A0, [PC - 0x7D8 /* 00000DDC, value 0x130097, cstring "" */] 000015B6 3028 0002 move.w D0, [A0 + 0x2] 000015BA D068 0006 add.w D0, [A0 + 0x6] 000015BE E240 asr D0.w, 1 000015C0 204B movea.l A0, A3 000015C2 5048 addq.w A0, 8 000015C4 B840 cmp.w D4, D0 000015C6 6D28 blt +0x2A /* 000015F0 */ 000015C8 5250 addq.w [A0], 1 000015CA B250 cmp.w D1, [A0] 000015CC 6E02 bgt +0x4 /* 000015D0 */ 000015CE 4250 clr.w [A0] label000015D0: 000015D0 3010 move.w D0, [A0] 000015D2 E740 asl D0.w, 3 000015D4 225F movea.l A1, [A7]+ 000015D6 2251 movea.l A1, [A1] 000015D8 3219 move.w D1, [A1]+ 000015DA D2C0 add.w A1, D0 000015DC 5148 subq.w A0, 8 000015DE 20D9 move.l [A0]+, [A1]+ 000015E0 20D9 move.l [A0]+, [A1]+ 000015E2 487A F7E8 pea.l [PC - 0x818 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 000015E6 A8A3 syscall EraseRect 000015E8 6100 F9D6 bsr -0x628 /* 00000FC0 */ 000015EC 6000 FD32 bra -0x2CC /* 00001320 */ label000015F0: 000015F0 5350 subq.w [A0], 1 000015F2 6ADC bpl -0x22 /* 000015D0 */ 000015F4 5341 subq.w D1, 1 000015F6 3081 move.w [A0], D1 000015F8 60D6 bra -0x28 /* 000015D0 */ label000015FA: 000015FA 6132 bsr +0x34 /* 0000162E */ 000015FC 614E bsr +0x50 /* 0000164C */ 000015FE 487A F7DC pea.l [PC - 0x824 /* 00000DDC, value 0x130097, cstring "" */] 00001602 2F3C 0003 0003 move.l -[A7], 0x30003 00001608 2F0B move.l -[A7], A3 0000160A A8B4 syscall FillRoundRect label0000160C: 0000160C 5D4F subq.w A7, 6 0000160E 2F0F move.l -[A7], A7 00001610 A972 syscall GetMouse 00001612 2817 move.l D4, [A7] 00001614 487A F7B6 pea.l [PC - 0x84A /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00001618 A8AD syscall PtInRect 0000161A 4A1F tst.b [A7]+ 0000161C 6704 beq +0x6 /* 00001622 */ 0000161E 610E bsr +0x10 /* 0000162E */ 00001620 616C bsr +0x6E /* 0000168E */ label00001622: 00001622 554F subq.w A7, 2 00001624 A973 syscall StillDown 00001626 4A1F tst.b [A7]+ 00001628 66E2 bne -0x1C /* 0000160C */ 0000162A 6000 FCF4 bra -0x30A /* 00001320 */ fn0000162E: 0000162E 41FA F79C lea.l A0, [PC - 0x864 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00001632 9868 0002 sub.w D4, [A0 + 0x2] 00001636 4844 swap.w D4 00001638 9850 sub.w D4, [A0] 0000163A 6104 bsr +0x6 /* 00001640 */ 0000163C 4844 swap.w D4 0000163E 4845 swap.w D5 fn00001640: 00001640 3004 move.w D0, D4 00001642 48C0 ext.l D0 00001644 80FC 0005 divu.w D0, 0x5 00001648 3A00 move.w D5, D0 0000164A 4E75 rts fn0000164C: 0000164C 514F subq.w A7, 8 0000164E 43FA F77C lea.l A1, [PC - 0x884 /* 00000DCC, value 0xD0064 '\r\0d', cstring "" */] 00001652 204B movea.l A0, A3 00001654 7007 moveq.l D0, 0x07 00001656 9045 sub.w D0, D5 00001658 4845 swap.w D5 0000165A 0170 5000 bchg [A0 + D5.w], D0 0000165E 57C6 seq D6 00001660 3005 move.w D0, D5 00001662 C0FC 0005 mulu.w D0, 0x5 00001666 D051 add.w D0, [A1] 00001668 3E80 move.w [A7], D0 0000166A 5840 addq.w D0, 4 0000166C 3F40 0004 move.w [A7 + 0x4], D0 00001670 4845 swap.w D5 00001672 3005 move.w D0, D5 00001674 C0FC 0005 mulu.w D0, 0x5 00001678 D069 0002 add.w D0, [A1 + 0x2] 0000167C 3F40 0002 move.w [A7 + 0x2], D0 00001680 5840 addq.w D0, 4 00001682 3F40 0006 move.w [A7 + 0x6], D0 00001686 2F0F move.l -[A7], A7 00001688 A8A4 syscall InvertRect 0000168A 504F addq.w A7, 8 0000168C 4E75 rts fn0000168E: 0000168E 204B movea.l A0, A3 00001690 7007 moveq.l D0, 0x07 00001692 9045 sub.w D0, D5 00001694 4845 swap.w D5 00001696 4A06 tst.b D6 00001698 671A beq +0x1C /* 000016B4 */ 0000169A 0130 5000 btst [A0 + D5.w], D0 0000169E 661A bne +0x1C /* 000016BA */ label000016A0: 000016A0 4845 swap.w D5 000016A2 61A8 bsr -0x56 /* 0000164C */ 000016A4 487A F736 pea.l [PC - 0x8CA /* 00000DDC, value 0x130097, cstring "" */] 000016A8 2F3C 0003 0003 move.l -[A7], 0x30003 000016AE 2F0B move.l -[A7], A3 000016B0 A8B4 syscall FillRoundRect 000016B2 4E75 rts label000016B4: 000016B4 0130 5000 btst [A0 + D5.w], D0 000016B8 66E6 bne -0x18 /* 000016A0 */ label000016BA: 000016BA 4845 swap.w D5 000016BC 4E75 rts label000016BE: 000016BE 6100 F262 bsr -0xD9C /* 00000922 */ 000016C2 4E56 FEF8 link A6, -0x0108 000016C6 2F0A move.l -[A7], A2 000016C8 244C movea.l A2, A4 000016CA 2857 movea.l A4, [A7] 000016CC 3012 move.w D0, [A2] 000016CE 5340 subq.w D0, 1 000016D0 6718 beq +0x1A /* 000016EA */ 000016D2 5540 subq.w D0, 2 000016D4 6700 03BE beq +0x3C0 /* 00001A94 */ 000016D8 5540 subq.w D0, 2 000016DA 6700 03B8 beq +0x3BA /* 00001A94 */ label000016DE: 000016DE 245F movea.l A2, [A7]+ 000016E0 4E5E unlink A6 000016E2 6100 F26A bsr -0xD94 /* 0000094E */ 000016E6 6000 EAB4 bra -0x154A /* 0000019C */ label000016EA: 000016EA 2D6A 000A FEF8 move.l [A6 - 0x108], [A2 + 0xA] 000016F0 486E FEF8 pea.l [A6 - 0x108] 000016F4 A871 syscall GlobalToLocal 000016F6 0C43 001E cmpi.w D3, 0x1E 000016FA 6614 bne +0x16 /* 00001710 */ 000016FC 0C6B 0003 003A cmpi.w [A3 + 0x3A], 0x3 00001702 671E beq +0x20 /* 00001722 */ 00001704 244C movea.l A2, A4 00001706 6158 bsr +0x5A /* 00001760 */ 00001708 377C 0003 003A move.w [A3 + 0x3A], 0x3 0000170E 6012 bra +0x14 /* 00001722 */ label00001710: 00001710 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00001716 670A beq +0xC /* 00001722 */ 00001718 244C movea.l A2, A4 0000171A 6144 bsr +0x46 /* 00001760 */ 0000171C 377C 0001 003A move.w [A3 + 0x3A], 0x1 label00001722: 00001722 4AAB 002C tst.l [A3 + 0x2C] 00001726 6722 beq +0x24 /* 0000174A */ 00001728 554F subq.w A7, 2 0000172A 2F2E FEF8 move.l -[A7], [A6 - 0x108] 0000172E 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00001734 6606 bne +0x8 /* 0000173C */ 00001736 487A 053E pea.l [PC + 0x53E /* 00001C76, value 0xBA0119, cstring "" */] 0000173A 6004 bra +0x6 /* 00001740 */ label0000173C: 0000173C 487A 0530 pea.l [PC + 0x530 /* 00001C6E, value 0x700119, cstring "" */] label00001740: 00001740 A8AD syscall PtInRect 00001742 4A1F tst.b [A7]+ 00001744 6704 beq +0x6 /* 0000174A */ 00001746 6100 01A0 bsr +0x1A2 /* 000018E8 */ label0000174A: 0000174A 6102 bsr +0x4 /* 0000174E */ 0000174C 6090 bra -0x6E /* 000016DE */ fn0000174E: 0000174E 48E7 1E00 movem.l -[A7], D3,D4,D5,D6 00001752 282E FEF8 move.l D4, [A6 - 0x108] 00001756 6100 0098 bsr +0x9A /* 000017F0 */ 0000175A 4CDF 0078 movem.l D3,D4,D5,D6, [A7]+ 0000175E 4E75 rts fn00001760: 00001760 48E7 1800 movem.l -[A7], D3,D4 00001764 204B movea.l A0, A3 00001766 2628 002C move.l D3, [A0 + 0x2C] 0000176A 6776 beq +0x78 /* 000017E2 */ 0000176C 42A8 002C clr.l [A0 + 0x2C] 00001770 317C FFFF 0030 move.w [A0 + 0x30], 0xFFFF 00001776 594F subq.w A7, 4 00001778 204F movea.l A0, A7 0000177A 20B8 020C move.l [A0], [0x0000020C /* Time */] 0000177E 4240 clr.w D0 00001780 281F move.l D4, [A7]+ 00001782 2004 move.l D0, D4 00001784 204B movea.l A0, A3 00001786 41EE FF00 lea.l A0, [A6 - 0x100] 0000178A A9C6 syscall SecondsToDate/Secs2Date 0000178C 204B movea.l A0, A3 0000178E 3228 003A move.w D1, [A0 + 0x3A] 00001792 5341 subq.w D1, 1 00001794 6704 beq +0x6 /* 0000179A */ 00001796 7006 moveq.l D0, 0x06 00001798 6002 bra +0x4 /* 0000179C */ label0000179A: 0000179A 7000 moveq.l D0, 0x00 label0000179C: 0000179C 224B movea.l A1, A3 0000179E 41EE FF00 lea.l A0, [A6 - 0x100] 000017A2 21B1 005A 0000 move.l [A0 + D0.w], [A1 + D0.w + 0x5A] 000017A8 31B1 005E 0004 move.w [A0 + D0.w + 0x4], [A1 + D0.w + 0x5E] 000017AE 4A41 tst.w D1 000017B0 670C beq +0xE /* 000017BE */ 000017B2 5541 subq.w D1, 2 000017B4 6708 beq +0xA /* 000017BE */ 000017B6 A9C7 syscall DateToSeconds/Date2Secs 000017B8 21C0 0200 move.l [0x00000200 /* SPAlarm */], D0 000017BC 6004 bra +0x6 /* 000017C2 */ label000017BE: 000017BE A9C7 syscall DateToSeconds/Date2Secs 000017C0 A03A syscall SetDateTime label000017C2: 000017C2 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 000017C8 6606 bne +0x8 /* 000017D0 */ 000017CA 303C 001D move.w D0, 0x1D 000017CE 6004 bra +0x6 /* 000017D4 */ label000017D0: 000017D0 303C 001E move.w D0, 0x1E label000017D4: 000017D4 6100 EEFE bsr -0x1100 /* 000006D4 */ 000017D8 486E FFF2 pea.l [A6 - 0xE] 000017DC A8A3 syscall EraseRect 000017DE 6100 F0D4 bsr -0xF2A /* 000008B4 */ label000017E2: 000017E2 4CDF 0018 movem.l D3,D4, [A7]+ 000017E6 4E75 rts fn000017E8: 000017E8 6100 F208 bsr -0xDF6 /* 000009F2 */ 000017EC 6000 F2A4 bra -0xD5A /* 00000A92 */ fn000017F0: 000017F0 48E7 1C10 movem.l -[A7], D3,D4,D5,A3 label000017F4: 000017F4 61F2 bsr -0xC /* 000017E8 */ 000017F6 7608 moveq.l D3, 0x08 label000017F8: 000017F8 554F subq.w A7, 2 000017FA 2F04 move.l -[A7], D4 000017FC 3003 move.w D0, D3 000017FE 6100 F246 bsr -0xDB8 /* 00000A46 */ 00001802 A8AD syscall PtInRect 00001804 4A1F tst.b [A7]+ 00001806 6606 bne +0x8 /* 0000180E */ 00001808 5543 subq.w D3, 2 0000180A 66EC bne -0x12 /* 000017F8 */ 0000180C 606E bra +0x70 /* 0000187C */ label0000180E: 0000180E 204B movea.l A0, A3 00001810 2A28 002C move.l D5, [A0 + 0x2C] 00001814 6644 bne +0x46 /* 0000185A */ 00001816 4A43 tst.w D3 00001818 6762 beq +0x64 /* 0000187C */ 0000181A 204B movea.l A0, A3 0000181C 3143 0030 move.w [A0 + 0x30], D3 00001820 2038 0200 move.l D0, [0x00000200 /* SPAlarm */] 00001824 3228 003A move.w D1, [A0 + 0x3A] 00001828 5541 subq.w D1, 2 0000182A 6710 beq +0x12 /* 0000183C */ 0000182C 43E8 005A lea.l A1, [A0 + 0x5A] 00001830 41E8 002C lea.l A0, [A0 + 0x2C] 00001834 20B8 020C move.l [A0], [0x0000020C /* Time */] 00001838 4240 clr.w D0 0000183A 2010 move.l D0, [A0] label0000183C: 0000183C 204B movea.l A0, A3 0000183E 2140 002C move.l [A0 + 0x2C], D0 00001842 41E8 005A lea.l A0, [A0 + 0x5A] 00001846 A9C6 syscall SecondsToDate/Secs2Date 00001848 3003 move.w D0, D3 0000184A 6100 F1FA bsr -0xE04 /* 00000A46 */ 0000184E 08B8 0007 0938 bclr.b [0x00000938 /* HiliteMode */], 0x7 00001854 A8A4 syscall InvertRect 00001856 6160 bsr +0x62 /* 000018B8 */ 00001858 6022 bra +0x24 /* 0000187C */ label0000185A: 0000185A 4A43 tst.w D3 0000185C 671E beq +0x20 /* 0000187C */ 0000185E 204B movea.l A0, A3 00001860 3028 0030 move.w D0, [A0 + 0x30] 00001864 B640 cmp.w D3, D0 00001866 6714 beq +0x16 /* 0000187C */ 00001868 6100 F1B8 bsr -0xE46 /* 00000A22 */ 0000186C 204B movea.l A0, A3 0000186E 4268 0044 clr.w [A0 + 0x44] 00001872 3143 0030 move.w [A0 + 0x30], D3 00001876 3003 move.w D0, D3 00001878 6100 F1A8 bsr -0xE56 /* 00000A22 */ label0000187C: 0000187C 5D4F subq.w A7, 6 0000187E 2F0F move.l -[A7], A7 00001880 A972 syscall GetMouse 00001882 281F move.l D4, [A7]+ 00001884 A973 syscall StillDown 00001886 4A1F tst.b [A7]+ 00001888 6600 FF6A bne -0x94 /* 000017F4 */ 0000188C 7608 moveq.l D3, 0x08 label0000188E: 0000188E 554F subq.w A7, 2 00001890 2F04 move.l -[A7], D4 00001892 3003 move.w D0, D3 00001894 6100 F1B0 bsr -0xE4E /* 00000A46 */ 00001898 A8AD syscall PtInRect 0000189A 4A1F tst.b [A7]+ 0000189C 6606 bne +0x8 /* 000018A4 */ 0000189E 5543 subq.w D3, 2 000018A0 66EC bne -0x12 /* 0000188E */ 000018A2 6006 bra +0x8 /* 000018AA */ label000018A4: 000018A4 204B movea.l A0, A3 000018A6 4AA8 002C tst.l [A0 + 0x2C] label000018AA: 000018AA 4CDF 0838 movem.l D3,D4,D5,A3, [A7]+ 000018AE 4E75 rts label000018B0: 000018B0 6100 FEAE bsr -0x150 /* 00001760 */ 000018B4 6000 E8E6 bra -0x1718 /* 0000019C */ fn000018B8: 000018B8 594F subq.w A7, 4 000018BA 3F3C F030 move.w -[A7], 0xF030 000018BE A9BC syscall GetPicture 000018C0 4A97 tst.l [A7] 000018C2 6720 beq +0x22 /* 000018E4 */ 000018C4 2F17 move.l -[A7], [A7] 000018C6 2057 movea.l A0, [A7] 000018C8 A04A syscall HNoPurge 000018CA 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 000018D0 6606 bne +0x8 /* 000018D8 */ 000018D2 487A 03A2 pea.l [PC + 0x3A2 /* 00001C76, value 0xBA0119, cstring "" */] 000018D6 6004 bra +0x6 /* 000018DC */ label000018D8: 000018D8 487A 0394 pea.l [PC + 0x394 /* 00001C6E, value 0x700119, cstring "" */] label000018DC: 000018DC A8F6 syscall DrawPicture 000018DE 205F movea.l A0, [A7]+ 000018E0 A049 syscall HPurge label000018E2: 000018E2 4E75 rts label000018E4: 000018E4 584F addq.w A7, 4 000018E6 60FA bra -0x4 /* 000018E2 */ fn000018E8: 000018E8 2F03 move.l -[A7], D3 000018EA 7600 moveq.l D3, 0x00 label000018EC: 000018EC 204B movea.l A0, A3 000018EE 4A68 0030 tst.w [A0 + 0x30] 000018F2 675E beq +0x60 /* 00001952 */ 000018F4 5D4F subq.w A7, 6 000018F6 2F0F move.l -[A7], A7 000018F8 A972 syscall GetMouse 000018FA 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00001900 6606 bne +0x8 /* 00001908 */ 00001902 487A 0372 pea.l [PC + 0x372 /* 00001C76, value 0xBA0119, cstring "" */] 00001906 6004 bra +0x6 /* 0000190C */ label00001908: 00001908 487A 0364 pea.l [PC + 0x364 /* 00001C6E, value 0x700119, cstring "" */] label0000190C: 0000190C A8AD syscall PtInRect 0000190E 4A1F tst.b [A7]+ 00001910 6738 beq +0x3A /* 0000194A */ 00001912 6142 bsr +0x44 /* 00001956 */ 00001914 72FF moveq.l D1, 0xFFFFFFFF 00001916 4840 swap.w D0 00001918 0440 0009 subi.w D0, 0x9 /* '\t' */ 0000191C 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00001922 6606 bne +0x8 /* 0000192A */ 00001924 B07A 0350 cmp.w D0, [PC + 0x350 /* 00001C76, value 0xBA, cstring "" */] 00001928 6004 bra +0x6 /* 0000192E */ label0000192A: 0000192A B07A 0342 cmp.w D0, [PC + 0x342 /* 00001C6E, value 0x70 'p', cstring "" */] label0000192E: 0000192E 6A02 bpl +0x4 /* 00001932 */ 00001930 7201 moveq.l D1, 0x01 label00001932: 00001932 6172 bsr +0x74 /* 000019A6 */ 00001934 6100 EFEC bsr -0x1012 /* 00000922 */ 00001938 6126 bsr +0x28 /* 00001960 */ 0000193A 6100 F012 bsr -0xFEC /* 0000094E */ 0000193E 4A43 tst.w D3 00001940 6608 bne +0xA /* 0000194A */ 00001942 76FF moveq.l D3, 0xFFFFFFFF 00001944 307C 000F movea.w A0, 0xF 00001948 A03B syscall Delay label0000194A: 0000194A 554F subq.w A7, 2 0000194C A973 syscall StillDown 0000194E 4A1F tst.b [A7]+ 00001950 669A bne -0x64 /* 000018EC */ label00001952: 00001952 261F move.l D3, [A7]+ 00001954 4E75 rts fn00001956: 00001956 594F subq.w A7, 4 00001958 2F0F move.l -[A7], A7 0000195A A972 syscall GetMouse 0000195C 201F move.l D0, [A7]+ 0000195E 4E75 rts fn00001960: 00001960 204B movea.l A0, A3 00001962 3028 0030 move.w D0, [A0 + 0x30] 00001966 6B26 bmi +0x28 /* 0000198E */ 00001968 6100 F088 bsr -0xF76 /* 000009F2 */ 0000196C 6100 F124 bsr -0xEDA /* 00000A92 */ 00001970 204B movea.l A0, A3 00001972 3028 0030 move.w D0, [A0 + 0x30] 00001976 6100 F0AA bsr -0xF54 /* 00000A22 */ 0000197A 6100 EF86 bsr -0x1078 /* 00000902 */ 0000197E 6100 FF38 bsr -0xC6 /* 000018B8 */ 00001982 204B movea.l A0, A3 00001984 3028 0030 move.w D0, [A0 + 0x30] 00001988 6100 F098 bsr -0xF66 /* 00000A22 */ 0000198C 4E75 rts label0000198E: 0000198E 0C6B 0001 003A cmpi.w [A3 + 0x3A], 0x1 00001994 6606 bne +0x8 /* 0000199C */ 00001996 487A 02DE pea.l [PC + 0x2DE /* 00001C76, value 0xBA0119, cstring "" */] 0000199A 6004 bra +0x6 /* 000019A0 */ label0000199C: 0000199C 487A 02D0 pea.l [PC + 0x2D0 /* 00001C6E, value 0x700119, cstring "" */] label000019A0: 000019A0 A8A3 syscall EraseRect 000019A2 6000 EF5E bra -0x10A0 /* 00000902 */ fn000019A6: 000019A6 48E7 3C00 movem.l -[A7], D2,D3,D4,D5 000019AA 224B movea.l A1, A3 000019AC 2029 002C move.l D0, [A1 + 0x2C] 000019B0 41E9 005A lea.l A0, [A1 + 0x5A] 000019B4 A9C6 syscall SecondsToDate/Secs2Date 000019B6 6178 bsr +0x7A /* 00001A30 */ 000019B8 3801 move.w D4, D1 000019BA 3A00 move.w D5, D0 label000019BC: 000019BC 7000 moveq.l D0, 0x00 000019BE 3031 505A move.w D0, [A1 + D5.w + 0x5A] 000019C2 D044 add.w D0, D4 000019C4 41FA 02C4 lea.l A0, [PC + 0x2C4 /* 00001C8A, value 0x7E3000C */] 000019C8 3230 5000 move.w D1, [A0 + D5.w] 000019CC 41FA 02B0 lea.l A0, [PC + 0x2B0 /* 00001C7E, value 0x7800001 */] 000019D0 9270 5000 sub.w D1, [A0 + D5.w] 000019D4 9070 5000 sub.w D0, [A0 + D5.w] 000019D8 5241 addq.w D1, 1 000019DA 4A40 tst.w D0 000019DC 6A02 bpl +0x4 /* 000019E0 */ 000019DE D041 add.w D0, D1 label000019E0: 000019E0 80C1 divu.w D0, D1 000019E2 4840 swap.w D0 000019E4 D070 5000 add.w D0, [A0 + D5.w] 000019E8 3380 505A move.w [A1 + D5.w + 0x5A], D0 000019EC 3F00 move.w -[A7], D0 000019EE 3F29 005C move.w -[A7], [A1 + 0x5C] 000019F2 41E9 005A lea.l A0, [A1 + 0x5A] 000019F6 A9C7 syscall DateToSeconds/Date2Secs 000019F8 2F00 move.l -[A7], D0 000019FA 41E9 005A lea.l A0, [A1 + 0x5A] 000019FE A9C6 syscall SecondsToDate/Secs2Date 00001A00 205F movea.l A0, [A7]+ 00001A02 321F move.w D1, [A7]+ 00001A04 301F move.w D0, [A7]+ 00001A06 B071 505A cmp.w D0, [A1 + D5.w + 0x5A] 00001A0A 6606 bne +0x8 /* 00001A12 */ 00001A0C B269 005C cmp.w D1, [A1 + 0x5C] 00001A10 6714 beq +0x16 /* 00001A26 */ label00001A12: 00001A12 3F00 move.w -[A7], D0 00001A14 2029 002C move.l D0, [A1 + 0x2C] 00001A18 41E9 005A lea.l A0, [A1 + 0x5A] 00001A1C A9C6 syscall SecondsToDate/Secs2Date 00001A1E 301F move.w D0, [A7]+ 00001A20 3380 505A move.w [A1 + D5.w + 0x5A], D0 00001A24 6096 bra -0x68 /* 000019BC */ label00001A26: 00001A26 2348 002C move.l [A1 + 0x2C], A0 00001A2A 4CDF 003C movem.l D2,D3,D4,D5, [A7]+ 00001A2E 4E75 rts fn00001A30: 00001A30 3F02 move.w -[A7], D2 00001A32 204B movea.l A0, A3 00001A34 3028 003A move.w D0, [A0 + 0x3A] 00001A38 5340 subq.w D0, 1 00001A3A 672E beq +0x30 /* 00001A6A */ 00001A3C 204B movea.l A0, A3 00001A3E 3428 0030 move.w D2, [A0 + 0x30] 00001A42 0C42 0008 cmpi.w D2, 0x8 00001A46 661E bne +0x20 /* 00001A66 */ 00001A48 48E7 C000 movem.l -[A7], D0,D1 00001A4C 7006 moveq.l D0, 0x06 00001A4E 3230 005A move.w D1, [A0 + D0.w + 0x5A] 00001A52 0C41 000C cmpi.w D1, 0xC 00001A56 6C06 bge +0x8 /* 00001A5E */ 00001A58 317C 0001 0028 move.w [A0 + 0x28], 0x1 label00001A5E: 00001A5E 4CDF 0003 movem.l D0,D1, [A7]+ 00001A62 7402 moveq.l D2, 0x02 00001A64 720C moveq.l D1, 0x0C label00001A66: 00001A66 5842 addq.w D2, 4 00001A68 601A bra +0x1C /* 00001A84 */ label00001A6A: 00001A6A 204B movea.l A0, A3 00001A6C 3028 0030 move.w D0, [A0 + 0x30] 00001A70 E240 asr D0.w, 1 00001A72 5340 subq.w D0, 1 00001A74 3428 0038 move.w D2, [A0 + 0x38] 00001A78 D042 add.w D0, D2 00001A7A D442 add.w D2, D2 00001A7C D042 add.w D0, D2 00001A7E 7400 moveq.l D2, 0x00 00001A80 143B 0008 move.b D2, [PC + D0.w + 0x8] label00001A84: 00001A84 3002 move.w D0, D2 00001A86 341F move.w D2, [A7]+ 00001A88 4E75 rts 00001A8A 0204 0004 andi.b D4, 0x4 00001A8E 0200 0002 andi.b D0, 0x2 00001A92 0400 082A subi.b D0, 0x2A /* '*' */ // begin alternate branch 00001A94-00001A9A label00001A94: 00001A94 082A 0000 000E btst.b [A2 + 0xE], 0x0 // end alternate branch 00001A94-00001A9A label00001A94: // (misaligned) 00001A96 0000 000E ori.b D0, 0xE 00001A9A 6704 beq +0x6 /* 00001AA0 */ 00001A9C 6000 0166 bra +0x168 /* 00001C04 */ label00001AA0: 00001AA0 4AAB 002C tst.l [A3 + 0x2C] 00001AA4 6700 FC38 beq -0x3C6 /* 000016DE */ 00001AA8 7400 moveq.l D2, 0x00 00001AAA 142A 0005 move.b D2, [A2 + 0x5] 00001AAE 0C02 0003 cmpi.b D2, 0x3 00001AB2 6700 013C beq +0x13E /* 00001BF0 */ 00001AB6 0C02 000D cmpi.b D2, 0xD /* '\r' */ 00001ABA 6700 0134 beq +0x136 /* 00001BF0 */ 00001ABE 0C02 0009 cmpi.b D2, 0x9 /* '\t' */ 00001AC2 6700 0164 beq +0x166 /* 00001C28 */ 00001AC6 0C02 0061 cmpi.b D2, 0x61 /* 'a' */ 00001ACA 6D04 blt +0x6 /* 00001AD0 */ 00001ACC 0402 0020 subi.b D2, 0x20 /* ' ' */ label00001AD0: 00001AD0 224B movea.l A1, A3 00001AD2 0C69 0008 0030 cmpi.w [A1 + 0x30], 0x8 00001AD8 664C bne +0x4E /* 00001B26 */ 00001ADA 0C02 0020 cmpi.b D2, 0x20 /* ' ' */ 00001ADE 660E bne +0x10 /* 00001AEE */ label00001AE0: 00001AE0 7201 moveq.l D1, 0x01 00001AE2 6100 FEC2 bsr -0x13C /* 000019A6 */ 00001AE6 6100 FE78 bsr -0x186 /* 00001960 */ 00001AEA 6000 FBF2 bra -0x40C /* 000016DE */ label00001AEE: 00001AEE 1229 0036 move.b D1, [A1 + 0x36] 00001AF2 B229 0037 cmp.b D1, [A1 + 0x37] 00001AF6 6700 010C beq +0x10E /* 00001C04 */ 00001AFA B202 cmp.b D1, D2 00001AFC 6610 bne +0x12 /* 00001B0E */ 00001AFE 7006 moveq.l D0, 0x06 00001B00 3231 005A move.w D1, [A1 + D0.w + 0x5A] 00001B04 0C41 000C cmpi.w D1, 0xC 00001B08 6CD6 bge -0x28 /* 00001AE0 */ 00001B0A 6000 FBD2 bra -0x42C /* 000016DE */ label00001B0E: 00001B0E B429 0037 cmp.b D2, [A1 + 0x37] 00001B12 6600 00F0 bne +0xF2 /* 00001C04 */ 00001B16 7006 moveq.l D0, 0x06 00001B18 3231 005A move.w D1, [A1 + D0.w + 0x5A] 00001B1C 0C41 000C cmpi.w D1, 0xC 00001B20 6DBE blt -0x40 /* 00001AE0 */ 00001B22 6000 FBBA bra -0x444 /* 000016DE */ label00001B26: 00001B26 0C02 0020 cmpi.b D2, 0x20 /* ' ' */ 00001B2A 6602 bne +0x4 /* 00001B2E */ 00001B2C 7430 moveq.l D2, 0x30 label00001B2E: 00001B2E 0402 0030 subi.b D2, 0x30 /* '0' */ 00001B32 6B00 00D0 bmi +0xD2 /* 00001C04 */ 00001B36 0C02 0009 cmpi.b D2, 0x9 /* '\t' */ 00001B3A 6E00 00C8 bgt +0xCA /* 00001C04 */ 00001B3E 224B movea.l A1, A3 00001B40 4AA9 002C tst.l [A1 + 0x2C] 00001B44 6700 00BE beq +0xC0 /* 00001C04 */ 00001B48 6100 FEE6 bsr -0x118 /* 00001A30 */ 00001B4C 7600 moveq.l D3, 0x00 00001B4E 4A69 0034 tst.w [A1 + 0x34] 00001B52 6710 beq +0x12 /* 00001B64 */ 00001B54 0C40 0006 cmpi.w D0, 0x6 00001B58 660A bne +0xC /* 00001B64 */ 00001B5A 0C71 000C 005A cmpi.w [A1 + D0.w + 0x5A], 0xC 00001B60 6D02 blt +0x4 /* 00001B64 */ 00001B62 760C moveq.l D3, 0x0C label00001B64: 00001B64 4A69 0044 tst.w [A1 + 0x44] 00001B68 6700 0090 beq +0x92 /* 00001BFA */ 00001B6C 3231 005A move.w D1, [A1 + D0.w + 0x5A] 00001B70 9203 sub.b D1, D3 00001B72 C2FC 000A mulu.w D1, 0xA /* '\n' */ 00001B76 D202 add.b D1, D2 00001B78 82FC 0064 divu.w D1, 0x64 /* 'd' */ 00001B7C 4841 swap.w D1 label00001B7E: 00001B7E 0C40 0006 cmpi.w D0, 0x6 00001B82 6618 bne +0x1A /* 00001B9C */ 00001B84 4A69 0034 tst.w [A1 + 0x34] 00001B88 6724 beq +0x26 /* 00001BAE */ 00001B8A 0C41 000C cmpi.w D1, 0xC 00001B8E 6E6A bgt +0x6C /* 00001BFA */ 00001B90 6706 beq +0x8 /* 00001B98 */ 00001B92 4A41 tst.w D1 00001B94 676E beq +0x70 /* 00001C04 */ 00001B96 6016 bra +0x18 /* 00001BAE */ label00001B98: 00001B98 7200 moveq.l D1, 0x00 00001B9A 6012 bra +0x14 /* 00001BAE */ label00001B9C: 00001B9C 4A40 tst.w D0 00001B9E 660E bne +0x10 /* 00001BAE */ 00001BA0 0C41 0014 cmpi.w D1, 0x14 00001BA4 6E04 bgt +0x6 /* 00001BAA */ 00001BA6 0641 0064 addi.w D1, 0x64 /* 'd' */ label00001BAA: 00001BAA 0641 076C addi.w D1, 0x76C label00001BAE: 00001BAE D243 add.w D1, D3 00001BB0 3381 005A move.w [A1 + D0.w + 0x5A], D1 00001BB4 48A7 D000 movem.w -[A7], D0,D1,D3 00001BB8 3F29 005C move.w -[A7], [A1 + 0x5C] 00001BBC 41E9 005A lea.l A0, [A1 + 0x5A] 00001BC0 A9C7 syscall DateToSeconds/Date2Secs 00001BC2 2F00 move.l -[A7], D0 00001BC4 41E9 005A lea.l A0, [A1 + 0x5A] 00001BC8 A9C6 syscall SecondsToDate/Secs2Date 00001BCA 205F movea.l A0, [A7]+ 00001BCC 345F movea.w A2, [A7]+ 00001BCE 4C9F 000B movem.w D0,D1,D3, [A7]+ 00001BD2 224B movea.l A1, A3 00001BD4 B271 005A cmp.w D1, [A1 + D0.w + 0x5A] 00001BD8 6634 bne +0x36 /* 00001C0E */ 00001BDA B4E9 005C cmpa.w A2, [A1 + 0x5C] 00001BDE 662E bne +0x30 /* 00001C0E */ 00001BE0 4669 0044 not.w [A1 + 0x44] 00001BE4 2348 002C move.l [A1 + 0x2C], A0 00001BE8 6100 FD76 bsr -0x288 /* 00001960 */ 00001BEC 6000 FAF0 bra -0x50E /* 000016DE */ label00001BF0: 00001BF0 244C movea.l A2, A4 00001BF2 6100 FB6C bsr -0x492 /* 00001760 */ 00001BF6 6000 FAE6 bra -0x518 /* 000016DE */ label00001BFA: 00001BFA 4269 0044 clr.w [A1 + 0x44] 00001BFE 3202 move.w D1, D2 00001C00 6000 FF7C bra -0x82 /* 00001B7E */ label00001C04: 00001C04 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00001C08 A9C8 syscall SysBeep 00001C0A 6000 FAD2 bra -0x52C /* 000016DE */ label00001C0E: 00001C0E 3F00 move.w -[A7], D0 00001C10 3F03 move.w -[A7], D3 00001C12 2029 002C move.l D0, [A1 + 0x2C] 00001C16 41E9 005A lea.l A0, [A1 + 0x5A] 00001C1A A9C6 syscall SecondsToDate/Secs2Date 00001C1C 361F move.w D3, [A7]+ 00001C1E 301F move.w D0, [A7]+ 00001C20 4A69 0044 tst.w [A1 + 0x44] 00001C24 67DE beq -0x20 /* 00001C04 */ 00001C26 60D2 bra -0x2C /* 00001BFA */ label00001C28: 00001C28 204B movea.l A0, A3 00001C2A 4AA8 002C tst.l [A0 + 0x2C] 00001C2E 67D4 beq -0x2A /* 00001C04 */ 00001C30 6100 FBB6 bsr -0x448 /* 000017E8 */ 00001C34 204B movea.l A0, A3 00001C36 3028 0030 move.w D0, [A0 + 0x30] 00001C3A 3F00 move.w -[A7], D0 00001C3C 6100 EDE4 bsr -0x121A /* 00000A22 */ label00001C40: 00001C40 301F move.w D0, [A7]+ 00001C42 5440 addq.w D0, 2 00001C44 0C40 0008 cmpi.w D0, 0x8 00001C48 6F02 ble +0x4 /* 00001C4C */ 00001C4A 7002 moveq.l D0, 0x02 label00001C4C: 00001C4C 3F00 move.w -[A7], D0 00001C4E 554F subq.w A7, 2 00001C50 6100 EDF4 bsr -0x120A /* 00000A46 */ 00001C54 A8AE syscall EmptyRect 00001C56 4A1F tst.b [A7]+ 00001C58 66E6 bne -0x18 /* 00001C40 */ 00001C5A 301F move.w D0, [A7]+ 00001C5C 204B movea.l A0, A3 00001C5E 3140 0030 move.w [A0 + 0x30], D0 00001C62 4268 0044 clr.w [A0 + 0x44] 00001C66 6100 EDBA bsr -0x1244 /* 00000A22 */ 00001C6A 6000 FA72 bra -0x58C /* 000016DE */ 00001C6E 0070 0119 0082 ori.w [A0 + D0.w - 0x126], 0x119 00001C74 0124 btst -[A4], D0 00001C76 00BA 0119 00CC 0124 ori.l [PC + 0x124 /* 00001D9C, value 0x486EFEE6 */], 0x11900CC 00001C7E 0780 bclr D0, D3 00001C80 0001 0001 ori.b D1, 0x1 00001C84 0000 0000 ori.b D0, 0x0 00001C88 0000 07E3 ori.b D0, 0xE3 00001C8C 000C 001F ori.b A4, 0x1F 00001C90 0017 003B ori.b [A7], 0x3B /* ';' */ 00001C94 003B 0000 011B 0047 019E ori.b [[PC + D0] + 0x47019E], 0x0 00001C9E 0073 015D 0080 ori.w [A3 + D0.w - 0x128], 0x15D 00001CA4 015D bchg [A5]+, D0 00001CA6 0220 2000 andi.b -[A0], 0x0 fn00001CAA: 00001CAA 48E7 F0E0 movem.l -[A7], D0,D1,D2,D3,A0,A1,A2 00001CAE 224F movea.l A1, A7 00001CB0 43E9 001C lea.l A1, [A1 + 0x1C] 00001CB4 2459 movea.l A2, [A1]+ 00001CB6 3619 move.w D3, [A1]+ 00001CB8 6750 beq +0x52 /* 00001D0A */ 00001CBA 554F subq.w A7, 2 00001CBC A9AF syscall ResError 00001CBE 301F move.w D0, [A7]+ 00001CC0 0C40 FFD3 cmpi.w D0, 0xFFD3 00001CC4 6602 bne +0x4 /* 00001CC8 */ 00001CC6 6006 bra +0x8 /* 00001CCE */ label00001CC8: 00001CC8 0C40 FFD4 cmpi.w D0, 0xFFD4 00001CCC 662E bne +0x30 /* 00001CFC */ label00001CCE: 00001CCE 2F09 move.l -[A7], A1 00001CD0 554F subq.w A7, 2 00001CD2 3F3C F030 move.w -[A7], 0xF030 00001CD6 42A7 clr.l -[A7] 00001CD8 A986 syscall StopAlert 00001CDA 544F addq.w A7, 2 00001CDC 225F movea.l A1, [A7]+ 00001CDE 0C43 0002 cmpi.w D3, 0x2 00001CE2 660A bne +0xC /* 00001CEE */ 00001CE4 4CDF 070F movem.l D0,D1,D2,D3,A0,A1,A2, [A7]+ 00001CE8 205F movea.l A0, [A7]+ 00001CEA 548F addq.l A7, 2 00001CEC 4ED0 jmp [A0] label00001CEE: 00001CEE 6128 bsr +0x2A /* 00001D18 */ 00001CF0 377C 0003 0074 move.w [A3 + 0x74], 0x3 00001CF6 2657 movea.l A3, [A7] 00001CF8 6000 E8CC bra -0x1732 /* 000005C6 */ label00001CFC: 00001CFC 611A bsr +0x1C /* 00001D18 */ 00001CFE 377C 0002 0074 move.w [A3 + 0x74], 0x2 00001D04 2657 movea.l A3, [A7] 00001D06 6000 E8BE bra -0x1740 /* 000005C6 */ label00001D0A: 00001D0A 610C bsr +0xE /* 00001D18 */ 00001D0C 377C 0001 0074 move.w [A3 + 0x74], 0x1 00001D12 2657 movea.l A3, [A7] 00001D14 6000 E8B0 bra -0x174E /* 000005C6 */ fn00001D18: 00001D18 281F move.l D4, [A7]+ 00001D1A 4CDF 070F movem.l D0,D1,D2,D3,A0,A1,A2, [A7]+ label00001D1E: 00001D1E 0C97 3598 9345 cmpi.l [A7], 0x35989345 00001D24 6704 beq +0x6 /* 00001D2A */ 00001D26 544F addq.w A7, 2 00001D28 60F4 bra -0xA /* 00001D1E */ label00001D2A: 00001D2A 544F addq.w A7, 2 00001D2C 0C97 3598 9345 cmpi.l [A7], 0x35989345 00001D32 6702 beq +0x4 /* 00001D36 */ 00001D34 554F subq.w A7, 2 label00001D36: 00001D36 584F addq.w A7, 4 00001D38 0C97 5984 4403 cmpi.l [A7], 0x59844403 00001D3E 6704 beq +0x6 /* 00001D44 */ 00001D40 554F subq.w A7, 2 00001D42 60DA bra -0x24 /* 00001D1E */ label00001D44: 00001D44 584F addq.w A7, 4 00001D46 0C97 9978 2370 cmpi.l [A7], 0x99782370 00001D4C 6704 beq +0x6 /* 00001D52 */ 00001D4E 5D4F subq.w A7, 6 00001D50 60CC bra -0x32 /* 00001D1E */ label00001D52: 00001D52 9EFC 000C sub.w A7, 0xC 00001D56 2044 movea.l A0, D4 00001D58 2817 move.l D4, [A7] 00001D5A 0C84 0000 0003 cmpi.l D4, 0x3 00001D60 6E0C bgt +0xE /* 00001D6E */ 00001D62 B6FC 0003 cmpa.w A3, 0x3 00001D66 6F00 E442 ble -0x1BBC /* 000001AA */ 00001D6A 2E8B move.l [A7], A3 00001D6C 6002 bra +0x4 /* 00001D70 */ label00001D6E: 00001D6E 2657 movea.l A3, [A7] label00001D70: 00001D70 2653 movea.l A3, [A3] 00001D72 4ED0 jmp [A0] fn00001D74: 00001D74 48E7 60C0 movem.l -[A7], D1,D2,A0,A1 00001D78 598F subq.l A7, 4 00001D7A A975 syscall TickCount 00001D7C 201F move.l D0, [A7]+ 00001D7E 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+ 00001D82 4E75 rts fn00001D84: 00001D84 377C 0001 00CE move.w [A3 + 0xCE], 0x1 00001D8A 2F2F 0004 move.l -[A7], [A7 + 0x4] 00001D8E A9AA syscall ChangedResource 00001D90 2057 movea.l A0, [A7] 00001D92 504F addq.w A7, 8 00001D94 4ED0 jmp [A0] fn00001D96: 00001D96 2F0A move.l -[A7], A2 00001D98 D047 add.w D0, D7 00001D9A 3F00 move.w -[A7], D0 00001D9C 486E FEE6 pea.l [A6 - 0x11A] 00001DA0 486E FEE2 pea.l [A6 - 0x11E] 00001DA4 486E FEDA pea.l [A6 - 0x126] 00001DA8 A98D syscall GetDialogItem/GetDItem 00001DAA 4E75 rts fn00001DAC: 00001DAC 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6 00001DB2 6600 00C0 bne +0xC2 /* 00001E74 */ 00001DB6 554F subq.w A7, 2 00001DB8 303C 0003 move.w D0, 0x3 00001DBC A830 syscall Pack14 00001DBE 4A1F tst.b [A7]+ 00001DC0 6700 00B2 beq +0xB4 /* 00001E74 */ 00001DC4 4E56 FEDA link A6, -0x0126 00001DC8 486E FEEC pea.l [A6 - 0x114] 00001DCC A874 syscall GetPort 00001DCE 594F subq.w A7, 4 00001DD0 A924 syscall FrontWindow 00001DD2 201F move.l D0, [A7]+ 00001DD4 B0AE FEEC cmp.l D0, [A6 - 0x114] 00001DD8 6600 0094 bne +0x96 /* 00001E6E */ 00001DDC 303C 001F move.w D0, 0x1F 00001DE0 61B4 bsr -0x4A /* 00001D96 */ 00001DE2 2D6E FEDA FEF4 move.l [A6 - 0x10C], [A6 - 0x126] 00001DE8 303C 0026 move.w D0, 0x26 /* '&' */ 00001DEC 61A8 bsr -0x56 /* 00001D96 */ 00001DEE 2D6E FEDE FEF8 move.l [A6 - 0x108], [A6 - 0x122] 00001DF4 486E FEE8 pea.l [A6 - 0x118] 00001DF8 A972 syscall GetMouse 00001DFA 4267 clr.w -[A7] 00001DFC 2F2E FEE8 move.l -[A7], [A6 - 0x118] 00001E00 486E FEF4 pea.l [A6 - 0x10C] 00001E04 A8AD syscall PtInRect 00001E06 101F move.b D0, [A7]+ 00001E08 6764 beq +0x66 /* 00001E6E */ 00001E0A 4A6B 002A tst.w [A3 + 0x2A] 00001E0E 6662 bne +0x64 /* 00001E72 */ 00001E10 41EE FEFC lea.l A0, [A6 - 0x104] 00001E14 30BC 0003 move.w [A0], 0x3 00001E18 317C F020 0002 move.w [A0 + 0x2], 0xF020 00001E1E 317C 0003 0004 move.w [A0 + 0x4], 0x3 00001E24 202E FEF8 move.l D0, [A6 - 0x108] 00001E28 2D40 FEF0 move.l [A6 - 0x110], D0 00001E2C 516E FEF0 subq.w [A6 - 0x110], 8 00001E30 516E FEF2 subq.w [A6 - 0x10E], 8 00001E34 486E FEF0 pea.l [A6 - 0x110] 00001E38 A870 syscall LocalToGlobal 00001E3A 486E FEF4 pea.l [A6 - 0x10C] 00001E3E A870 syscall LocalToGlobal 00001E40 486E FEF8 pea.l [A6 - 0x108] 00001E44 A870 syscall LocalToGlobal 00001E46 554F subq.w A7, 2 00001E48 486E FEFC pea.l [A6 - 0x104] 00001E4C 2F2E FEF0 move.l -[A7], [A6 - 0x110] 00001E50 486E FEF4 pea.l [A6 - 0x10C] 00001E54 7000 moveq.l D0, 0x00 00001E56 2F00 move.l -[A7], D0 00001E58 2F00 move.l -[A7], D0 00001E5A 3F00 move.w -[A7], D0 00001E5C 303C 0B01 move.w D0, 0xB01 00001E60 A830 syscall Pack14 00001E62 4A5F tst.w [A7]+ 00001E64 6608 bne +0xA /* 00001E6E */ 00001E66 377C 0001 002A move.w [A3 + 0x2A], 0x1 00001E6C 6004 bra +0x6 /* 00001E72 */ label00001E6E: 00001E6E 426B 002A clr.w [A3 + 0x2A] label00001E72: 00001E72 4E5E unlink A6 label00001E74: 00001E74 4E75 rts